[Scummvm-cvs-logs] SF.net SVN: scummvm:[48480] scummvm/trunk/engines/parallaction

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Sat Apr 3 06:48:21 CEST 2010


Revision: 48480
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48480&view=rev
Author:   Kirben
Date:     2010-04-03 04:48:20 +0000 (Sat, 03 Apr 2010)

Log Message:
-----------
Fix bug #2970141 - NIPPON: Crash at end of the game (regression). By reverting part of the changes to Parallaction_ns::cleanupGame() in revision 34939.

Revision Links:
--------------
    http://scummvm.svn.sourceforge.net/scummvm/?rev=34939&view=rev

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/parallaction.h
    scummvm/trunk/engines/parallaction/parallaction_ns.cpp

Modified: scummvm/trunk/engines/parallaction/parallaction.h
===================================================================
--- scummvm/trunk/engines/parallaction/parallaction.h	2010-04-03 00:44:38 UTC (rev 48479)
+++ scummvm/trunk/engines/parallaction/parallaction.h	2010-04-03 04:48:20 UTC (rev 48480)
@@ -173,7 +173,6 @@
 
 protected:
 	int			_gameType;
-	void freeZones(bool removeAll);
 
 	bool keepZone_br(ZonePtr z);
 	bool keepZone_ns(ZonePtr z);
@@ -191,6 +190,7 @@
 	ZonePtr findZone(const char *name);
 
 	void cleanup(bool removeAll);
+	void freeZones(bool removeAll);
 
 	int getScale(int z) const;
 };

Modified: scummvm/trunk/engines/parallaction/parallaction_ns.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/parallaction_ns.cpp	2010-04-03 00:44:38 UTC (rev 48479)
+++ scummvm/trunk/engines/parallaction/parallaction_ns.cpp	2010-04-03 04:48:20 UTC (rev 48480)
@@ -515,7 +515,7 @@
 	memset(_localFlags, 0, sizeof(_localFlags));
 	memset(_locationNames, 0, sizeof(_locationNames));
 
-	freeLocation(true);
+	_location.freeZones(true);
 
 	_score = 0;
 	_freeSarcophagusSlotX = INITIAL_FREE_SARCOPHAGUS_SLOT_X;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list