- FIX: La colisió amb el mapa fallaba per la dreta
This commit is contained in:
@@ -83,6 +83,6 @@ mapa={
|
|||||||
end,
|
end,
|
||||||
|
|
||||||
check_collision=function(x,y)
|
check_collision=function(x,y)
|
||||||
return mget(x,y) > 16
|
return mget(x,y) > 16 or mget(x+1,y) > 16
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user