aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/debugger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tony/debugger.cpp')
-rw-r--r--engines/tony/debugger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tony/debugger.cpp b/engines/tony/debugger.cpp
index 7dc32d9f61..66fddf2834 100644
--- a/engines/tony/debugger.cpp
+++ b/engines/tony/debugger.cpp
@@ -87,7 +87,7 @@ bool Debugger::Cmd_Scene(int argc, const char **argv) {
}
int sceneNumber = strToInt(argv[1]);
- if (sceneNumber >= _vm->_theBoxes.GetLocBoxesCount()) {
+ if (sceneNumber >= _vm->_theBoxes.getLocBoxesCount()) {
DebugPrintf("Invalid scene\n");
return true;
}
@@ -99,7 +99,7 @@ bool Debugger::Cmd_Scene(int argc, const char **argv) {
} else {
// Get the box areas for the scene, and choose one so as to have a default
// position for Tony that will be in the walkable areas
- RMBoxLoc *box = _vm->_theBoxes.GetBoxes(sceneNumber);
+ RMBoxLoc *box = _vm->_theBoxes.getBoxes(sceneNumber);
scenePos.Set(box->boxes[0].hotspot[0].hotx, box->boxes[0].hotspot[0].hoty);
}