Remove unused code, since room flags are always zero in Elvira 1.

svn-id: r35738
This commit is contained in:
Travis Howell 2009-01-05 09:49:57 +00:00
parent 85c9decb8d
commit 1409526f6b
2 changed files with 0 additions and 12 deletions

View File

@ -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);

View File

@ -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);