Commit 3d230637 authored by André Weber's avatar André Weber

Fixed a Bug in UpdateEdgeWeighting used wrong const for number of columns (copy and paste error)

parent 6e8667d8
......@@ -204,7 +204,7 @@ void CAtmoZoneDefinition::UpdateWeighting(int *destWeight,
int index = 0;
for(int row=0; row < CAP_HEIGHT; row++) {
for(int col=0; col < CAP_HEIGHT; col++) {
for(int col=0; col < CAP_WIDTH; col++) {
if ((WidescreenMode == 1) && ((row <= CAP_HEIGHT/8) || (row >= (7*CAP_HEIGHT)/8)))
{
destWeight[index] = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment