aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/scripts.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2007-09-23 22:17:57 +0000
committerPaul Gilbert2007-09-23 22:17:57 +0000
commitb4cff6b9bdda3c1d30af9f919a3698b57172522c (patch)
tree9b9d8046b5d50a4c34f13fed19e53c968d9ec2f5 /engines/lure/scripts.cpp
parent8685b1b45648ffb89468537e8154afbc074a2e4d (diff)
downloadscummvm-rg350-b4cff6b9bdda3c1d30af9f919a3698b57172522c.tar.gz
scummvm-rg350-b4cff6b9bdda3c1d30af9f919a3698b57172522c.tar.bz2
scummvm-rg350-b4cff6b9bdda3c1d30af9f919a3698b57172522c.zip
Converted fields in data that were originally offsets (such as tick proc offsets) to use indexes, allowing for more generic handling of different language versions
svn-id: r29073
Diffstat (limited to 'engines/lure/scripts.cpp')
-rw-r--r--engines/lure/scripts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/scripts.cpp b/engines/lure/scripts.cpp
index da1977f00e..31ed7acfbd 100644
--- a/engines/lure/scripts.cpp
+++ b/engines/lure/scripts.cpp
@@ -235,7 +235,7 @@ void Script::setupSkorlFight(uint16 v1, uint16 v2, uint16 v3) {
void Script::remoteRoomViewSetup(uint16 v1, uint16 v2, uint16 v3) {
Hotspot *player = Resources::getReference().getActiveHotspot(PLAYER_ID);
- player->setTickProc(0); // disable player actions
+ player->setTickProc(NULL_TICK_PROC_ID);
Resources::getReference().fieldList().setField(OLD_ROOM_NUMBER,
player->roomNumber());
}