This commit is contained in:
Daveo 2001-07-14 14:17:34 +00:00
parent 820e8b4e92
commit 078bccbe09

View File

@ -51,7 +51,8 @@ inline int getCollisionBlock(int _x,int _y)
inline u8 Get(int X,int Y)
{
return(getCollisionBlock(X,Y) & COLLISION_TILE_MASK);
int Ofs=(X)+GetYPos(Y);
return(Map[Ofs] & COLLISION_TILE_MASK);
// return(Map[X+(Y*MapWidth)]&COLLISION_TILE_MASK);
}