summaryrefslogtreecommitdiff
path: root/src/newgrf_industries.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-15 16:43:46 +0000
committerrubidium <rubidium@openttd.org>2010-11-15 16:43:46 +0000
commita6a2fbd937e0a424306919959530252444699849 (patch)
tree90dd93b5916c6deb3c047701a39aa09c636c2c4d /src/newgrf_industries.cpp
parentb7d8001202f73fc5cf58791ad66f99b78977154d (diff)
downloadopenttd-a6a2fbd937e0a424306919959530252444699849.tar.xz
(svn r21198) -Fix: don't call variables properties in debug messages
Diffstat (limited to 'src/newgrf_industries.cpp')
-rw-r--r--src/newgrf_industries.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_industries.cpp b/src/newgrf_industries.cpp
index 4df5949b1..ef96572cc 100644
--- a/src/newgrf_industries.cpp
+++ b/src/newgrf_industries.cpp
@@ -188,7 +188,7 @@ uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte par
}
if (industry == NULL) {
- DEBUG(grf, 1, "Unhandled property 0x%X (no available industry) in callback 0x%x", variable, object->callback);
+ DEBUG(grf, 1, "Unhandled variable 0x%X (no available industry) in callback 0x%x", variable, object->callback);
*available = false;
return UINT_MAX;
@@ -329,7 +329,7 @@ uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte par
case 0xB4: return Clamp(industry->last_cargo_accepted_at - DAYS_TILL_ORIGINAL_BASE_YEAR, 0, 65535); // Date last cargo accepted since 1920 (in days)
}
- DEBUG(grf, 1, "Unhandled industry property 0x%X", variable);
+ DEBUG(grf, 1, "Unhandled industry variable 0x%X", variable);
*available = false;
return UINT_MAX;