summaryrefslogtreecommitdiff
path: root/station_cmd.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 /station_cmd.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 'station_cmd.c')
-rw-r--r--station_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/station_cmd.c b/station_cmd.c
index 0871d6d4b..cf9876149 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -2643,11 +2643,11 @@ void BuildOilRig(TileIndex tile)
Station *st = AllocateStation();
if (st == NULL) {
- DEBUG(misc, 0) ("Couldn't allocate station for oilrig at %#X, reverting to oilrig only...", tile);
+ DEBUG(misc, 0) ("Couldn't allocate station for oilrig at 0x%X, reverting to oilrig only...", tile);
return;
}
if (!GenerateStationName(st, tile, 2)) {
- DEBUG(misc, 0) ("Couldn't allocate station-name for oilrig at %#X, reverting to oilrig only...", tile);
+ DEBUG(misc, 0) ("Couldn't allocate station-name for oilrig at 0x%X, reverting to oilrig only...", tile);
return;
}