aboutsummaryrefslogtreecommitdiff
path: root/queen/walk.h
diff options
context:
space:
mode:
authorGregory Montoir2003-11-16 10:47:31 +0000
committerGregory Montoir2003-11-16 10:47:31 +0000
commit74d8b6ef2831625ac6c84082b0a345fe5e8e711c (patch)
tree1237ff4bb00bbd425a392fb6c4f2527a2de7a88c /queen/walk.h
parentaed2a56e0c008966a8d9e5ce39d3b69eb50e4029 (diff)
downloadscummvm-rg350-74d8b6ef2831625ac6c84082b0a345fe5e8e711c.tar.gz
scummvm-rg350-74d8b6ef2831625ac6c84082b0a345fe5e8e711c.tar.bz2
scummvm-rg350-74d8b6ef2831625ac6c84082b0a345fe5e8e711c.zip
fix some bugs :
- Joe being unable to grab oil during carbam scene (walking bug, when dest_pt == orig_pt) - wrong Joe facing direction when opening plane door updated handlePinnacleRoom() comment svn-id: r11306
Diffstat (limited to 'queen/walk.h')
-rw-r--r--queen/walk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/queen/walk.h b/queen/walk.h
index ca2b46a243..879e81364f 100644
--- a/queen/walk.h
+++ b/queen/walk.h
@@ -109,7 +109,7 @@ private:
void incWalkData(int16 px, int16 py, int16 x, int16 y, uint16 area);
//! compute path (and populates _walkData) from current position to the new one
- void calc(uint16 oldPos, uint16 newPos, int16 oldx, int16 oldy, int16 x, int16 y);
+ bool calc(uint16 oldPos, uint16 newPos, int16 oldx, int16 oldy, int16 x, int16 y);
WalkData _walkData[MAX_WALK_DATA];
@@ -128,7 +128,7 @@ private:
Graphics *_graphics;
- static const MovePersonData MOVE_DATA[];
+ static const MovePersonData _moveData[];
};