aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-10-30 00:31:43 +0200
committerEugene Sandulenko2013-10-30 00:32:06 +0200
commit0c2bc41f49db79bf5ad61fcd20637ac6d5bd616b (patch)
tree0728b3f917f48397041abf763964969c9e66e8de
parent7f86d151930298e5c2866d47f4f5c41ceb1f1f08 (diff)
downloadscummvm-rg350-0c2bc41f49db79bf5ad61fcd20637ac6d5bd616b.tar.gz
scummvm-rg350-0c2bc41f49db79bf5ad61fcd20637ac6d5bd616b.tar.bz2
scummvm-rg350-0c2bc41f49db79bf5ad61fcd20637ac6d5bd616b.zip
FULLPIPE: Fix crash after intro
-rw-r--r--engines/fullpipe/gameloader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/gameloader.cpp b/engines/fullpipe/gameloader.cpp
index f8ede5cff2..a2ab71d7e3 100644
--- a/engines/fullpipe/gameloader.cpp
+++ b/engines/fullpipe/gameloader.cpp
@@ -481,7 +481,7 @@ bool PreloadItems::load(MfcArchive &file) {
int count = file.readCount();
- resize(count);
+ clear();
for (int i = 0; i < count; i++) {
PreloadItem *t = new PreloadItem();