[Scummvm-cvs-logs] scummvm master -> 0c2bc41f49db79bf5ad61fcd20637ac6d5bd616b

sev- sev at scummvm.org
Tue Oct 29 23:32:38 CET 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
0c2bc41f49 FULLPIPE: Fix crash after intro


Commit: 0c2bc41f49db79bf5ad61fcd20637ac6d5bd616b
    https://github.com/scummvm/scummvm/commit/0c2bc41f49db79bf5ad61fcd20637ac6d5bd616b
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2013-10-29T15:32:06-07:00

Commit Message:
FULLPIPE: Fix crash after intro

Changed paths:
    engines/fullpipe/gameloader.cpp



diff --git a/engines/fullpipe/gameloader.cpp b/engines/fullpipe/gameloader.cpp
index f8ede5c..a2ab71d 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();






More information about the Scummvm-git-logs mailing list