From 8de524b073aa5895b662a54e4430e77fbe491d60 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Sat, 24 Sep 2011 15:31:32 -0400 Subject: [PATCH] PEGASUS: Create the Interface biochip even if it's not used Still needed for saves --- engines/pegasus/pegasus.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engines/pegasus/pegasus.cpp b/engines/pegasus/pegasus.cpp index 045c9f8147cf..22d2d863b54b 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);