aboutsummaryrefslogtreecommitdiff
path: root/saga/interface.cpp
diff options
context:
space:
mode:
authorJoost Peters2004-08-01 19:53:29 +0000
committerJoost Peters2004-08-01 19:53:29 +0000
commit48cddda4b9728353317def35d0afd5e33f7a5bc1 (patch)
tree471de8ac2ffa0675a9863d6e3c58c9d3edfcf4fa /saga/interface.cpp
parentd60973b05e9c607b46edaa45b56b86953d7d079d (diff)
downloadscummvm-rg350-48cddda4b9728353317def35d0afd5e33f7a5bc1.tar.gz
scummvm-rg350-48cddda4b9728353317def35d0afd5e33f7a5bc1.tar.bz2
scummvm-rg350-48cddda4b9728353317def35d0afd5e33f7a5bc1.zip
move SDATA_* into seperate class
svn-id: r14424
Diffstat (limited to 'saga/interface.cpp')
-rw-r--r--saga/interface.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/saga/interface.cpp b/saga/interface.cpp
index 380e9be04b..8c674b11dc 100644
--- a/saga/interface.cpp
+++ b/saga/interface.cpp
@@ -37,6 +37,7 @@
#include "interface_mod.h"
#include "interface.h"
+#include "sdata.h"
namespace Saga {
@@ -496,7 +497,7 @@ int HandlePlayfieldClick(R_SURFACE *ds, R_POINT *imouse_pt) {
if (object_flags & R_OBJECT_NORMAL) {
if (OBJECTMAP_GetEPNum(object_num, &script_num) == R_SUCCESS) {
// Set active verb in script module
- SDATA_PutWord(4, 4, I_VerbData[IfModule.active_verb].s_verb);
+ _vm->_sdata->putWord(4, 4, I_VerbData[IfModule.active_verb].s_verb);
// Execute object script if present
if (script_num != 0) {