some const correctness

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4662 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2008-04-17 11:53:49 +00:00
parent 5cdf20261d
commit 5b0612e881
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ typedef struct _maptile
extern UBYTE terrainTypes[MAX_TILE_TEXTURES]; extern UBYTE terrainTypes[MAX_TILE_TEXTURES];
static inline unsigned char terrainType(MAPTILE * tile) static inline unsigned char terrainType(const MAPTILE * tile)
{ {
return terrainTypes[TileNumber_tile(tile->texture)]; return terrainTypes[TileNumber_tile(tile->texture)];
} }