diff options
author | Darkvater <darkvater@openttd.org> | 2006-11-03 01:18:40 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-11-03 01:18:40 +0000 |
commit | ac2b6f39b1f9a1e104fe6859d1a5b7c6afd010f8 (patch) | |
tree | b690e9ee0bf559ff2fc4d85d367241a54bcd86f2 /saveload.c | |
parent | a9fa6fd5060db97614240788e8f7658bd06f3ae4 (diff) | |
download | openttd-ac2b6f39b1f9a1e104fe6859d1a5b7c6afd010f8.tar.xz |
(svn r7048) -Cleanup: DEBUG doesn't need a newline character, use DEBUG instead of printf and the
verb is build/built/built not build/*/build or build/*/builded.
Diffstat (limited to 'saveload.c')
-rw-r--r-- | saveload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/saveload.c b/saveload.c index a1d14e729..92a9112ff 100644 --- a/saveload.c +++ b/saveload.c @@ -1629,7 +1629,7 @@ int GetSavegameType(char *file) f = fopen(file, "rb"); if (fread(&hdr, sizeof(hdr), 1, f) != 1) { - printf("Savegame is obsolete or invalid format.\n"); + DEBUG(misc, 0) ("[Sl] Savegame is obsolete or invalid format"); mode = SL_LOAD; // don't try to get filename, just show name as it is written } else { // see if we have any loader for this type. |