aboutsummaryrefslogtreecommitdiff
path: root/saga/sfuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'saga/sfuncs.cpp')
-rw-r--r--saga/sfuncs.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/saga/sfuncs.cpp b/saga/sfuncs.cpp
index d3dc57858f..31ae5fd28e 100644
--- a/saga/sfuncs.cpp
+++ b/saga/sfuncs.cpp
@@ -934,6 +934,11 @@ int Script::sfPlaceActor(SCRIPTFUNC_PARAMS) {
debug(1, "sfPlaceActor(%d, %d, %d, %d, %d, %d)", actorId, actorLocation.x,
actorLocation.y, actorDirection, frameType, frameOffset);
+ if (_vm->getGameType() == GType_IHNM) {
+ warning("Actors aren't implemented for IHNM yet");
+ return SUCCESS;
+ }
+
actor = _vm->_actor->getActor(actorId);
actor->location.x = actorLocation.x;
actor->location.y = actorLocation.y;