diff options
Diffstat (limited to 'engines/pegasus')
-rw-r--r-- | engines/pegasus/items/biochips/pegasuschip.cpp | 5 | ||||
-rw-r--r-- | engines/pegasus/items/biochips/pegasuschip.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/engines/pegasus/items/biochips/pegasuschip.cpp b/engines/pegasus/items/biochips/pegasuschip.cpp index c74cc346ca..574316b5ca 100644 --- a/engines/pegasus/items/biochips/pegasuschip.cpp +++ b/engines/pegasus/items/biochips/pegasuschip.cpp @@ -49,6 +49,11 @@ void PegasusChip::select() { setUpPegasusChip(); } +void PegasusChip::takeSharedArea() { + BiochipItem::takeSharedArea(); + setUpPegasusChip(); +} + void PegasusChip::setUpPegasusChip() { switch (GameState.getCurrentNeighborhood()) { case kCaldoriaID: diff --git a/engines/pegasus/items/biochips/pegasuschip.h b/engines/pegasus/items/biochips/pegasuschip.h index c4f1e6cd84..b81df94b39 100644 --- a/engines/pegasus/items/biochips/pegasuschip.h +++ b/engines/pegasus/items/biochips/pegasuschip.h @@ -38,6 +38,8 @@ public: void select(); + void takeSharedArea() override; + void setUpPegasusChip(); // Called to set up the Pegasus chip when the Pegasus chip is the current chip but does not |