mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 02:44:56 +00:00
Remove unused code, since room flags are always zero in Elvira 1.
svn-id: r35738
This commit is contained in:
parent
85c9decb8d
commit
1409526f6b
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user