[Scummvm-cvs-logs] SF.net SVN: scummvm:[45141] scummvm/branches/branch-1-0-0/engines/ parallaction/inventory.cpp
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Fri Oct 16 02:09:09 CEST 2009
Revision: 45141
http://scummvm.svn.sourceforge.net/scummvm/?rev=45141&view=rev
Author: peres001
Date: 2009-10-16 00:09:09 +0000 (Fri, 16 Oct 2009)
Log Message:
-----------
Backport of r45140. Fixed bug 2879805. Typo in inventory code made the inventory impossible to cleanup on loadgame.
Modified Paths:
--------------
scummvm/branches/branch-1-0-0/engines/parallaction/inventory.cpp
Modified: scummvm/branches/branch-1-0-0/engines/parallaction/inventory.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/engines/parallaction/inventory.cpp 2009-10-16 00:08:18 UTC (rev 45140)
+++ scummvm/branches/branch-1-0-0/engines/parallaction/inventory.cpp 2009-10-16 00:09:09 UTC (rev 45141)
@@ -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