Clonkomotive: fixed (deprecated) implicit declaration of for loop var.

ipv6
Clonkonaut 2017-01-03 22:11:00 +01:00
parent 06151bc5e5
commit 0eed215bbd
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ protected func InitializeMap(proplist map)
continue;
var correct_pos = true;
var try_positions = [[0, 8], [0, -8], [10, 0], [-10, 0]];
for (try_pos in try_positions)
for (var try_pos in try_positions)
{
var pix = GetPixel(pos.X + try_pos[0], pos.Y + try_pos[1]);
if (pix == 0 || pix == GetMaterialTextureIndex("Tunnel"))