diff options
author | darkvater <darkvater@openttd.org> | 2005-01-08 23:59:49 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2005-01-08 23:59:49 +0000 |
commit | 528e6d973ed86a3923d6fdbadd2e02c749394d80 (patch) | |
tree | cd709b86f9915b58053a87706ee56bc0d69305f3 /misc.c | |
parent | b2063e21504045df55e3dd3d74c2e5668a8844e4 (diff) | |
download | openttd-528e6d973ed86a3923d6fdbadd2e02c749394d80.tar.xz |
(svn r1437) -Fix: Safetileadd preprocessor magic is the same as for GCC and no longer extern
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -730,7 +730,7 @@ int FindFirstBit(uint32 value) } -extern uint SafeTileAdd(uint tile, int add, const char *exp, const char *file, int line) +uint SafeTileAdd(uint tile, int add, const char *exp, const char *file, int line) { uint x = TileX(tile) + (signed char)(add & 0xFF); uint y = TileY(tile) + ((((0x8080 + add)>>8) & 0xFF) - 0x80); |