summaryrefslogtreecommitdiff
path: root/newgrf_engine.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-04-22 13:56:16 +0000
committerDarkvater <darkvater@openttd.org>2006-04-22 13:56:16 +0000
commit5a8d992eaad001fc73d5b14a389ece7e4d95897e (patch)
treef8cd633aad6536932155068f74bc9f8e1a346ebb /newgrf_engine.c
parentdb377b973871e8f270a3dd5ba723ed6a7eea8ec5 (diff)
downloadopenttd-5a8d992eaad001fc73d5b14a389ece7e4d95897e.tar.xz
(svn r4529) - Codechange: Use proper naming for hex numbers in debug prints eg. 0xF3A6. Use fixed lengths where applicable (newgrf). Unfortunately '%#X' is unusable since it gives 0XFF3 and '%#x' gives 0xff3 while we want 0xFF3 :P
Diffstat (limited to 'newgrf_engine.c')
-rw-r--r--newgrf_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf_engine.c b/newgrf_engine.c
index 841cba1a9..e6f878a7c 100644
--- a/newgrf_engine.c
+++ b/newgrf_engine.c
@@ -169,7 +169,7 @@ static int VehicleSpecificProperty(const Vehicle *v, byte var) {
break;
}
- DEBUG(grf, 1)("Unhandled vehicle property 0x%x (var 0x%x), type 0x%x", var, var + 0x80, v->type);
+ DEBUG(grf, 1)("Unhandled vehicle property 0x%02X (var 0x%02X), type 0x%02X", var, var + 0x80, v->type);
return -1;
}