[Scummvm-cvs-logs] SF.net SVN: scummvm:[51731] scummvm/trunk/engines/sci/engine/savegame.cpp

wjpalenstijn at users.sourceforge.net wjpalenstijn at users.sourceforge.net
Wed Aug 4 14:11:24 CEST 2010


Revision: 51731
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51731&view=rev
Author:   wjpalenstijn
Date:     2010-08-04 12:11:23 +0000 (Wed, 04 Aug 2010)

Log Message:
-----------
SCI: Fix infinite recursion when saving.

This was a regression from r51727.

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/savegame.cpp

Modified: scummvm/trunk/engines/sci/engine/savegame.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/savegame.cpp	2010-08-04 12:02:50 UTC (rev 51730)
+++ scummvm/trunk/engines/sci/engine/savegame.cpp	2010-08-04 12:11:23 UTC (rev 51731)
@@ -243,7 +243,7 @@
 void syncWithSerializer(Common::Serializer &s, Table<Clone>::Entry &obj) {
 	s.syncAsSint32LE(obj.next_free);
 
-	syncWithSerializer(s, obj);
+	syncWithSerializer<Object>(s, obj);
 }
 
 template <>


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