forked from mirror/OpenTTD
(svn r1475) Fix some more signed/unsigned comparison warnings
This commit is contained in:
2
map.h
2
map.h
@@ -4,7 +4,7 @@
|
||||
#define TILE_FROM_XY(x,y) (int)((((y) >> 4) << MapLogX()) + ((x) >> 4))
|
||||
#define TILE_XY(x,y) (int)(((y) << MapLogX()) + (x))
|
||||
|
||||
#define TILE_MASK(x) (int)((x) & ((1 << (MapLogX() + MapLogY())) - 1))
|
||||
#define TILE_MASK(x) ((x) & ((1 << (MapLogX() + MapLogY())) - 1))
|
||||
|
||||
extern byte _map_type_and_height[];
|
||||
extern byte _map5[];
|
||||
|
Reference in New Issue
Block a user