diff options
Diffstat (limited to 'engines/agi/preagi_mickey.h')
-rw-r--r-- | engines/agi/preagi_mickey.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/agi/preagi_mickey.h b/engines/agi/preagi_mickey.h index 24a07d376e..fe0b647915 100644 --- a/engines/agi/preagi_mickey.h +++ b/engines/agi/preagi_mickey.h @@ -732,7 +732,6 @@ struct MSA_GAME { class Mickey { friend class PreAgiEngine; public: - Mickey(PreAgiEngine *vm); ~Mickey(); @@ -803,6 +802,14 @@ protected: void flipSwitch(); void waitAnyKeyAnim(); void waitAnyKey(bool anim = false); + + bool planetIsAlreadyAssigned(int planet) { + for (int j = 0; j < IDI_MSA_MAX_PLANET; j++) { + if (game.iPlanetXtal[j] == planet) + return true; + } + return false; + } }; } // End of namespace Agi |