aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/actor.h
diff options
context:
space:
mode:
authorThanasis Antoniou2019-04-09 16:31:39 +0300
committerThanasis Antoniou2019-04-09 16:32:51 +0300
commita9404284c3778c087aa1f10428db632880296a99 (patch)
treec278becceb546ac06d0aae139f40d5a058673308 /engines/bladerunner/actor.h
parentd8f43160df030abd06f3f941d7edd02b6f4c9fba (diff)
downloadscummvm-rg350-a9404284c3778c087aa1f10428db632880296a99.tar.gz
scummvm-rg350-a9404284c3778c087aa1f10428db632880296a99.tar.bz2
scummvm-rg350-a9404284c3778c087aa1f10428db632880296a99.zip
BLADERUNNER: Fix Officer Leary crowd interrogation
He will now resume interrogation after McCoy interrupts him Also used named constants for timers
Diffstat (limited to 'engines/bladerunner/actor.h')
-rw-r--r--engines/bladerunner/actor.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/bladerunner/actor.h b/engines/bladerunner/actor.h
index 806130365c..1177e655a2 100644
--- a/engines/bladerunner/actor.h
+++ b/engines/bladerunner/actor.h
@@ -44,6 +44,8 @@ class View;
class Actor {
BladeRunnerEngine *_vm;
+ static const int kActorTimers = 7;
+
public:
BoundingBox _bbox;
Common::Rect _screenRectangle;
@@ -108,8 +110,8 @@ private:
int _retiredWidth;
int _retiredHeight;
- int _timersLeft[7];
- int _timersLast[7];
+ int _timersLeft[kActorTimers];
+ int _timersLast[kActorTimers];
float _scale;