Skip to content

Commit

Permalink
PEGASUS: Create the Interface biochip even if it's not used
Browse files Browse the repository at this point in the history
Still needed for saves
  • Loading branch information
Matthew Hoops committed Sep 24, 2011
1 parent 5275e16 commit 8de524b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion engines/pegasus/pegasus.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 8de524b

Please sign in to comment.