PEGASUS: Fix typo in the save code

This commit is contained in:
Matthew Hoops
2011-12-19 21:13:54 -05:00
parent 924e0b32ad
commit 5fe762e7cd
+1 -1
View File
@@ -541,7 +541,7 @@ bool PegasusEngine::writeToStream(Common::WriteStream *stream, int saveType) {
byte biochipCount = _biochips.getNumItems();
stream->writeByte(biochipCount);
if (itemCount > 0) {
if (biochipCount > 0) {
for (uint32 i = 0; i < biochipCount; i++)
stream->writeUint16BE(_biochips.getItemIDAt(i));