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
commit3d409cc986a758d119181eb351ef795b6b260234 (patch)
treedcb2cc926e4d8736455ff97381d6a94bbdc1f320 /oldloader.c
parentfe61e68c8a3f835ff898194fba1dca7b96b5279b (diff)
downloadopenttd-3d409cc986a758d119181eb351ef795b6b260234.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;