This commit is contained in:
parent
4014e0c55e
commit
6e637eabce
1 changed files with 6 additions and 0 deletions
|
@ -131,6 +131,11 @@ int NewY=YPos>>4;
|
||||||
ShiftX=XPos & 15;
|
ShiftX=XPos & 15;
|
||||||
ShiftY=YPos & 15;
|
ShiftY=YPos & 15;
|
||||||
|
|
||||||
|
#ifdef __USER_paul__
|
||||||
|
MapX=NewX;
|
||||||
|
MapY=NewY;
|
||||||
|
UpdateWholeMap();
|
||||||
|
#else
|
||||||
if (NewX>MapX)
|
if (NewX>MapX)
|
||||||
{ // update right column
|
{ // update right column
|
||||||
UpdateColumn(NewX+SCREEN_TILE_WIDTH-1,MapY);
|
UpdateColumn(NewX+SCREEN_TILE_WIDTH-1,MapY);
|
||||||
|
@ -154,6 +159,7 @@ int NewY=YPos>>4;
|
||||||
UpdateRow(MapX,NewY);
|
UpdateRow(MapX,NewY);
|
||||||
MapY=NewY;
|
MapY=NewY;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
Loading…
Add table
Reference in a new issue