[Scummvm-cvs-logs] SF.net SVN: scummvm:[45140] scummvm/trunk/engines/parallaction/inventory. cpp
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Fri Oct 16 02:08:18 CEST 2009
Revision: 45140
http://scummvm.svn.sourceforge.net/scummvm/?rev=45140&view=rev
Author: peres001
Date: 2009-10-16 00:08:18 +0000 (Fri, 16 Oct 2009)
Log Message:
-----------
Fixed bug 2879805. Typo in inventory code made the inventory impossible to cleanup on loadgame.
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/inventory.cpp
Modified: scummvm/trunk/engines/parallaction/inventory.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/inventory.cpp 2009-10-15 23:59:28 UTC (rev 45139)
+++ scummvm/trunk/engines/parallaction/inventory.cpp 2009-10-16 00:08:18 UTC (rev 45140)
@@ -319,7 +319,7 @@
uint first = (keepVerbs ? _numVerbs : 0);
- for (uint16 slot = first; slot < _numVerbs; slot++) {
+ for (uint16 slot = first; slot < _numItems; slot++) {
_items[slot]._id = 0;
_items[slot]._index = 0;
}
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