mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
SCUMM: Remove unused code, which was replaced by ScummEngine_v0::runObject in revision 42737.
svn-id: r52798
This commit is contained in:
parent
ae3b6f0aa3
commit
6537cb6463
@ -103,8 +103,6 @@ protected:
|
||||
|
||||
virtual void setBuiltinCursor(int index);
|
||||
|
||||
virtual void runObject(int obj, int entry);
|
||||
|
||||
/* Version 2 script opcodes */
|
||||
void o2_actorFromPos();
|
||||
void o2_actorOps();
|
||||
|
@ -756,19 +756,6 @@ void ScummEngine_v0::runObject(int obj, int entry) {
|
||||
}
|
||||
}
|
||||
|
||||
void ScummEngine_v2::runObject(int obj, int entry) {
|
||||
if (getVerbEntrypoint(obj, entry) != 0) {
|
||||
runObjectScript(obj, entry, false, false, NULL);
|
||||
} else if (entry != 13 && entry != 15) {
|
||||
VAR(9) = entry;
|
||||
runScript(3, 0, 0, 0);
|
||||
}
|
||||
|
||||
_activeInventory = 0;
|
||||
_activeObject = 0;
|
||||
_activeVerb = 13;
|
||||
}
|
||||
|
||||
bool ScummEngine_v0::verbMoveToActor(int actor) {
|
||||
Actor *a = derefActor(VAR(VAR_EGO), "verbMoveToActor");
|
||||
Actor *a2 = derefActor(actor, "verbMoveToActor");
|
||||
|
Loading…
Reference in New Issue
Block a user