summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-09-04 23:02:52 +0000
committersmatz <smatz@openttd.org>2009-09-04 23:02:52 +0000
commit0bfea0646c93e627cbf2f358aea57dbf8eb8abfe (patch)
tree618ffc9ef0a15953d1b016302bef2643c9387722 /src/economy.cpp
parentae9441aa4628e2e559ea8f7e490e13ea0be34bab (diff)
downloadopenttd-0bfea0646c93e627cbf2f358aea57dbf8eb8abfe.tar.xz
(svn r17420) -Codechange: replace assert() by assert_compile() where possible
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index 335889d83..4e8bbc252 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -738,7 +738,7 @@ void StartupEconomy()
{
int i;
- assert(sizeof(_price) == NUM_PRICES * sizeof(Money));
+ assert_compile(sizeof(_price) == NUM_PRICES * sizeof(Money));
/* Setup price bases */
for (i = 0; i < NUM_PRICES; i++) {