diff options
Diffstat (limited to 'scumm/actor.h')
-rw-r--r-- | scumm/actor.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/scumm/actor.h b/scumm/actor.h index ed63cc567e..7580b418fa 100644 --- a/scumm/actor.h +++ b/scumm/actor.h @@ -26,6 +26,8 @@ #include "common/scummsys.h" #include "scumm/scumm.h" + + namespace Scumm { enum MoveFlags { @@ -225,14 +227,8 @@ public: return _facing; } - int getAnimVar(byte var) const { - checkRange(26, 0, var, "getAnimVar %d out of range(r)"); - return _animVariable[var]; - } - void setAnimVar(byte var, int value) { - checkRange(26, 0, var, "setAnimVar %d out of range(r)"); - _animVariable[var] = value; - } + int getAnimVar(byte var) const; + void setAnimVar(byte var, int value); void setAnimSpeed(byte newAnimSpeed) { _animSpeed = newAnimSpeed; |