(svn r17596) -Codechange: constify some tables

This commit is contained in:
smatz
2009-09-20 23:11:01 +00:00
parent e07efc2370
commit 114d48e492
36 changed files with 64 additions and 64 deletions

View File

@@ -282,7 +282,7 @@ bool CircularTileSearch(TileIndex *tile, uint radius, uint w, uint h, TestTileOn
uint x = TileX(*tile) + w + 1;
uint y = TileY(*tile);
uint extent[DIAGDIR_END] = { w, h, w, h };
const uint extent[DIAGDIR_END] = { w, h, w, h };
for (uint n = 0; n < radius; n++) {
for (DiagDirection dir = DIAGDIR_BEGIN; dir < DIAGDIR_END; dir++) {