diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/actions.cpp | 3 | ||||
-rw-r--r-- | engines/zvision/actions.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/engines/zvision/actions.cpp b/engines/zvision/actions.cpp index 3d25fa9e99..461c4493eb 100644 --- a/engines/zvision/actions.cpp +++ b/engines/zvision/actions.cpp @@ -367,8 +367,7 @@ bool ActionStreamVideo::execute(ZVision *engine) { } Common::Rect destRect; - // 0x1 flags that the destRect dimensions are different from the original video dimensions - if ((_flags & 0x1) == 0x1) { + if ((_flags & DIFFERENT_DIMENSIONS) == DIFFERENT_DIMENSIONS) { destRect = Common::Rect(_x1, _y1, _x2, _y2); } diff --git a/engines/zvision/actions.h b/engines/zvision/actions.h index 5d7cdad68f..206b5e16b1 100644 --- a/engines/zvision/actions.h +++ b/engines/zvision/actions.h @@ -321,6 +321,10 @@ public: bool execute(ZVision *engine); private: + enum { + DIFFERENT_DIMENSIONS = 0x1 // 0x1 flags that the destRect dimensions are different from the original video dimensions + }; + Common::String _fileName; uint _x1; uint _y1; |