diff options
author | rubidium <rubidium@openttd.org> | 2010-07-30 22:57:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-07-30 22:57:46 +0000 |
commit | 24df43633cb1f647f71867512ce4cbc9f9672561 (patch) | |
tree | 4a374e67bd1e75bc2c33887c9e9c12ce8b7bbf8e /src/saveload/oldloader.h | |
parent | 3aaeb311df8d720b0fd4449e3f9a4d7cd35a4ac0 (diff) | |
download | openttd-24df43633cb1f647f71867512ce4cbc9f9672561.tar.xz |
(svn r20247) -Fix: when it is known the loading an old savegame is going to fail, bail out immediately (using an exception) instead of going on until e.g. the expected number of byte is read
Diffstat (limited to 'src/saveload/oldloader.h')
-rw-r--r-- | src/saveload/oldloader.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/saveload/oldloader.h b/src/saveload/oldloader.h index 6720a28a6..19ba09cc3 100644 --- a/src/saveload/oldloader.h +++ b/src/saveload/oldloader.h @@ -31,7 +31,6 @@ struct LoadgameState { byte buffer[BUFFER_SIZE]; uint total_read; - bool failed; }; /* OldChunk-Type */ |