diff options
| author | Matthew Hoops | 2011-12-19 21:13:54 -0500 |
|---|---|---|
| committer | Matthew Hoops | 2011-12-19 21:13:54 -0500 |
| commit | 5fe762e7cdfd2ca72129abe2eac181ae5402aaff (patch) | |
| tree | 318a1f51bf666933feb23d8a274e86ef438fa2bb | |
| parent | 924e0b32ad80cefb81d1cadc55d389a14430a5a7 (diff) | |
| download | scummvm-rg350-5fe762e7cdfd2ca72129abe2eac181ae5402aaff.tar.gz scummvm-rg350-5fe762e7cdfd2ca72129abe2eac181ae5402aaff.tar.bz2 scummvm-rg350-5fe762e7cdfd2ca72129abe2eac181ae5402aaff.zip | |
PEGASUS: Fix typo in the save code
| -rw-r--r-- | engines/pegasus/pegasus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pegasus/pegasus.cpp b/engines/pegasus/pegasus.cpp index da2f09e6c5..f5efbc0651 100644 --- a/engines/pegasus/pegasus.cpp +++ b/engines/pegasus/pegasus.cpp @@ -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)); |
