Poprawieni bug z przeciwnikami

This commit is contained in:
Leszek Winnicki 2017-04-22 20:35:24 +02:00
parent 1a041ce6bb
commit 8bbc0b5e67
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ mp={
{0,0,0,0,0,0,0,"e",0},
{0,0,0,0,1,1,1,1,1},
{0,0,0,0,0,0,0,0,0},
{1,1,1,1,0,0,0,0,0},
{2,2,2,2,0,0,0,0,0},
{0,0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0,0}
}

View File

@ -25,7 +25,7 @@ function loadmap(map)
if x~=0 and type(x)=="number" then
t:new(x, (c*32)-32, (q*32)-32)
elseif x=="e" then
e:new(0,0,(c*32)-32,(q*32)-32,3)
e:new((c*32)-32,(q*32)-32,32,32,3)
print(tostring(q..c))
end
end