aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/game_v2.cpp
diff options
context:
space:
mode:
authorSven Hesse2009-06-22 10:15:52 +0000
committerSven Hesse2009-06-22 10:15:52 +0000
commitb6a26911a3a65e47a56e97d5e43c3ec0ae3f825c (patch)
tree691807c0375aaa9361d3920a8c6840c966c27729 /engines/gob/game_v2.cpp
parent82568c66b1a5408050dbc2e2b659a0a92aa35ef2 (diff)
downloadscummvm-rg350-b6a26911a3a65e47a56e97d5e43c3ec0ae3f825c.tar.gz
scummvm-rg350-b6a26911a3a65e47a56e97d5e43c3ec0ae3f825c.tar.bz2
scummvm-rg350-b6a26911a3a65e47a56e97d5e43c3ec0ae3f825c.zip
Giving CollisionArea a full-blown Script pointer instead the data pointer
svn-id: r41757
Diffstat (limited to 'engines/gob/game_v2.cpp')
-rw-r--r--engines/gob/game_v2.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/gob/game_v2.cpp b/engines/gob/game_v2.cpp
index b9cda4832a..ace842f18e 100644
--- a/engines/gob/game_v2.cpp
+++ b/engines/gob/game_v2.cpp
@@ -331,8 +331,7 @@ int16 Game_v2::addNewCollision(int16 id, uint16 left, uint16 top,
ptr->funcEnter = funcEnter;
ptr->funcLeave = funcLeave;
ptr->funcSub = funcSub;
- ptr->totFileData = 0;
- ptr->totSize = 0;
+ ptr->script = 0;
return i;
}