summaryrefslogtreecommitdiff
path: root/signs.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-09-18 20:56:44 +0000
committerDarkvater <darkvater@openttd.org>2005-09-18 20:56:44 +0000
commit8e6a911700de2875db95d254e5a5771e73ceedd7 (patch)
tree2e474d7261d3d1f3a5a381895f572bd5b78fe606 /signs.h
parent3097ee24292dc0c9fc19e98078a0403b96654787 (diff)
downloadopenttd-8e6a911700de2875db95d254e5a5771e73ceedd7.tar.xz
(svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
- change a lot of byte player types to PlayerID - beautify header files, same "#endif /* filename */" ending
Diffstat (limited to 'signs.h')
-rw-r--r--signs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/signs.h b/signs.h
index 9e4e37d20..cdb00c49a 100644
--- a/signs.h
+++ b/signs.h
@@ -22,7 +22,7 @@ extern MemoryPool _sign_pool;
/**
* Check if a Sign really exists.
*/
-static inline bool IsValidSign(SignStruct* ss)
+static inline bool IsValidSign(const SignStruct* ss)
{
return ss->str != 0;
}