diff options
author | Matthew Hoops | 2011-09-24 15:31:32 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-09-24 15:31:32 -0400 |
commit | 8de524b073aa5895b662a54e4430e77fbe491d60 (patch) | |
tree | b036cac2d1044f3f8eaac7ac661617a1f3930b15 /engines/pegasus | |
parent | 5275e16849d4c8da65ec6a6f9b900c8b2b4ed0be (diff) | |
download | scummvm-rg350-8de524b073aa5895b662a54e4430e77fbe491d60.tar.gz scummvm-rg350-8de524b073aa5895b662a54e4430e77fbe491d60.tar.bz2 scummvm-rg350-8de524b073aa5895b662a54e4430e77fbe491d60.zip |
PEGASUS: Create the Interface biochip even if it's not used
Still needed for saves
Diffstat (limited to 'engines/pegasus')
-rw-r--r-- | engines/pegasus/pegasus.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/pegasus/pegasus.cpp b/engines/pegasus/pegasus.cpp index 045c9f8147..22d2d863b5 100644 --- a/engines/pegasus/pegasus.cpp +++ b/engines/pegasus/pegasus.cpp @@ -184,7 +184,9 @@ void PegasusEngine::createItems() { void PegasusEngine::createItem(tItemID itemID, tNeighborhoodID neighborhoodID, tRoomID roomID, tDirectionConstant direction) { switch (itemID) { case kInterfaceBiochip: - // Unused in game, but still in the data - no need to load it + // Unused in game, but still in the data and we need to create + // it because it's saved/loaded from save files. + new BiochipItem(itemID, neighborhoodID, roomID, direction); break; case kAIBiochip: new AIChip(itemID, neighborhoodID, roomID, direction); |