diff options
author | Strangerke | 2014-08-03 15:43:05 +0200 |
---|---|---|
committer | Strangerke | 2014-08-03 15:44:20 +0200 |
commit | b8b3e5af04f349ec353cffd73f399e21c4301f78 (patch) | |
tree | cd61f854238d40543eba7440fc2e71ad75013d56 /engines/cge2/spare.cpp | |
parent | 41fece64878ff982dc63a2b63d6f7e552c8fe6f3 (diff) | |
download | scummvm-rg350-b8b3e5af04f349ec353cffd73f399e21c4301f78.tar.gz scummvm-rg350-b8b3e5af04f349ec353cffd73f399e21c4301f78.tar.bz2 scummvm-rg350-b8b3e5af04f349ec353cffd73f399e21c4301f78.zip |
CGE2: Some more minor cleanup
Diffstat (limited to 'engines/cge2/spare.cpp')
-rw-r--r-- | engines/cge2/spare.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/cge2/spare.cpp b/engines/cge2/spare.cpp index 4ca29009d8..53f99e4e67 100644 --- a/engines/cge2/spare.cpp +++ b/engines/cge2/spare.cpp @@ -37,9 +37,10 @@ void Spare::sync(Common::Serializer &s) { size++; s.syncAsSint16LE(size); - for (uint i = 0; i < _container.size(); i++) + for (uint i = 0; i < _container.size(); i++) { if (_container[i]->_ref >= 141) _container[i]->sync(s); + } } else { int size; s.syncAsSint16LE(size); |