aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/draw.h1
-rw-r--r--engines/gob/hotspots.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/gob/draw.h b/engines/gob/draw.h
index 0c7f768341..e7af1f9af3 100644
--- a/engines/gob/draw.h
+++ b/engines/gob/draw.h
@@ -32,6 +32,7 @@ namespace Gob {
#define RENDERFLAG_COLLISIONS 0x0004
#define RENDERFLAG_CAPTUREPOP 0x0008
#define RENDERFLAG_USEDELTAS 0x0010
+#define RENDERFLAG_BORDERHOTSPOTS 0x0040
#define RENDERFLAG_HASWINDOWS 0x0080
#define RENDERFLAG_NOBLITINVALIDATED 0x0200
#define RENDERFLAG_NOSUBTITLES 0x0400
diff --git a/engines/gob/hotspots.cpp b/engines/gob/hotspots.cpp
index 140cf2901b..ecab9bb906 100644
--- a/engines/gob/hotspots.cpp
+++ b/engines/gob/hotspots.cpp
@@ -1269,7 +1269,7 @@ void Hotspots::evaluateNew(uint16 i, uint16 *ids, InputDesc *inputs,
type &= 0x7F;
// Draw a border around the hotspot
- if (_vm->_draw->_renderFlags & 64) {
+ if (_vm->_draw->_renderFlags & RENDERFLAG_BORDERHOTSPOTS) {
Surface &surface = *_vm->_draw->_spritesArray[_vm->_draw->_destSurface];
_vm->_video->dirtyRectsAll();