SCUMM: Remove unused code, which was replaced by ScummEngine_v0::runObject in revision 42737.

svn-id: r52798
This commit is contained in:
Travis Howell 2010-09-18 14:31:21 +00:00
parent ae3b6f0aa3
commit 6537cb6463
2 changed files with 0 additions and 15 deletions

View File

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

View File

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