summaryrefslogtreecommitdiff
path: root/oldloader.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-04-22 13:42:09 +0000
committerDarkvater <darkvater@openttd.org>2006-04-22 13:42:09 +0000
commitdb377b973871e8f270a3dd5ba723ed6a7eea8ec5 (patch)
treedcb2cc926e4d8736455ff97381d6a94bbdc1f320 /oldloader.c
parente3280971b12c15cbe077f59cf28f8a6e4977d51d (diff)
downloadopenttd-db377b973871e8f270a3dd5ba723ed6a7eea8ec5.tar.xz
(svn r4528) - Fix: fix idiotic gcc warning
Diffstat (limited to 'oldloader.c')
-rw-r--r--oldloader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/oldloader.c b/oldloader.c
index efb45549d..644d76be8 100644
--- a/oldloader.c
+++ b/oldloader.c
@@ -213,6 +213,7 @@ static bool LoadChunk(LoadgameState *ls, void *base, const OldChunks *chunks)
case OC_ASSERT:
DEBUG(oldloader, 4)("[OldLoader] Assert point: %x / %x", ls->total_read, chunk->offset + _bump_assert_value);
if (ls->total_read != chunk->offset + _bump_assert_value) ls->failed = true;
+ default: break;
}
} else {
uint32 res = 0;