diff options
Diffstat (limited to 'scummvm.cpp')
-rw-r--r-- | scummvm.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scummvm.cpp b/scummvm.cpp index 8ef8740ec5..66b84d6ed0 100644 --- a/scummvm.cpp +++ b/scummvm.cpp @@ -27,6 +27,7 @@ #include "gui.h" #include "string.h" #include "gameDetector.h" +#include "actor.h" int autosave(int interval) /* Not in class to prevent being bound */ { @@ -960,6 +961,11 @@ void Scumm::convertKeysToClicks() } } +Actor *Scumm::derefActor(int id) +{ + return &actor[id]; +} + Actor *Scumm::derefActorSafe(int id, const char *errmsg) { if (id < 1 || id >= NUM_ACTORS) { |