diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agos/agos.h | 1 | ||||
-rw-r--r-- | engines/agos/script_e1.cpp | 11 |
2 files changed, 0 insertions, 12 deletions
diff --git a/engines/agos/agos.h b/engines/agos/agos.h index d0aa0d1494..68a2771b62 100644 --- a/engines/agos/agos.h +++ b/engines/agos/agos.h @@ -1066,7 +1066,6 @@ public: void o_setDollar(); void o_isBox(); - int16 levelOf(Item *item); int16 moreText(Item *i); void lobjFunc(Item *i, const char *f); uint confirmYesOrNo(uint16 x, uint16 y); diff --git a/engines/agos/script_e1.cpp b/engines/agos/script_e1.cpp index adbb45d278..15fea99a93 100644 --- a/engines/agos/script_e1.cpp +++ b/engines/agos/script_e1.cpp @@ -563,9 +563,6 @@ void AGOSEngine_Elvira1::oe1_look() { if (l) { lobjFunc(l, "You can see "); /* Show objects */ } - if (r && (r->flags & 4) && levelOf(i) < 10000) { - quitGame(); - } } void AGOSEngine_Elvira1::oe1_doClass() { @@ -973,14 +970,6 @@ void AGOSEngine_Elvira1::oe1_printMonsterHit() { mouseOn(); } -int16 AGOSEngine::levelOf(Item *item) { - SubPlayer *p = (SubPlayer *)findChildOfType(item, kPlayerType); - if (p == NULL) - return 0; - - return p->level; -} - int16 AGOSEngine::moreText(Item *i) { SubObject *o; i = derefItem(i->next); |