summaryrefslogtreecommitdiff
path: root/namegen.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-08-16 14:48:35 +0000
committerdarkvater <darkvater@openttd.org>2004-08-16 14:48:35 +0000
commit68c9b7c3ad902784c07b0d76c81c87e073c826b3 (patch)
tree7adb6f3ca0f68bd8744d5835a42dd6919a93f4c2 /namegen.c
parentd33c833a82808c256562b7f3a7e07251613d14ca (diff)
downloadopenttd-68c9b7c3ad902784c07b0d76c81c87e073c826b3.tar.xz
(svn r66) -Fix Station list updated on station deletion/station rename
-Changed debug messages to comply with DEBUG(name, level) heuristics
Diffstat (limited to 'namegen.c')
-rw-r--r--namegen.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/namegen.c b/namegen.c
index 9b0829ff3..e1cb08bb5 100644
--- a/namegen.c
+++ b/namegen.c
@@ -1986,15 +1986,12 @@ uint32 GetOldTownName(uint32 townnameparts, byte old_town_name_type)
* 0000 0000 0000 0000 0000 0000 1111 1111 */
return FIXNUM(townnameparts - 86, NUM_FRENCH_1, 0);
case 2: /* German */
- #ifdef _DEBUG
- printf("German Townnames are buggy... (%d)\n", townnameparts);
- #endif
+ DEBUG(misc, 0) ("German Townnames are buggy... (%d)", townnameparts);
return townnameparts;
case 4: /* Latin-American */
/* 0000 0000 0000 0000 0000 0000 1111 1111 */
return FIXNUM(townnameparts, NUM_SPANISH_1, 0);
case 5: /* Silly */
- //AppendPart(&buf, GETNUM(16, NUM_SILLY_2),silly_2);
/* NUM_SILLY_1 - lower 16 bits
* NUM_SILLY_2 - upper 16 bits without leading 1 (first 8 bytes)
* 1000 0000 2222 2222 0000 0000 1111 1111 */