aboutsummaryrefslogtreecommitdiff
path: root/simon/simonverb.cpp
diff options
context:
space:
mode:
authorMax Horn2002-08-18 16:21:34 +0000
committerMax Horn2002-08-18 16:21:34 +0000
commitb204c21c32d9c55cf0f6542909d3cd8ae2d70cc2 (patch)
treea0ff00e7b564a9c839d731c3b54885296b1ee7cc /simon/simonverb.cpp
parent89cf95ce34fc5c9ae613f0f581cacea8d369fce3 (diff)
downloadscummvm-rg350-b204c21c32d9c55cf0f6542909d3cd8ae2d70cc2.tar.gz
scummvm-rg350-b204c21c32d9c55cf0f6542909d3cd8ae2d70cc2.tar.bz2
scummvm-rg350-b204c21c32d9c55cf0f6542909d3cd8ae2d70cc2.zip
trying to clean up the Simon code - gee this is a *BIG* mess! Argh!
svn-id: r4756
Diffstat (limited to 'simon/simonverb.cpp')
-rw-r--r--simon/simonverb.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/simon/simonverb.cpp b/simon/simonverb.cpp
index 77065f7a9c..662237cd68 100644
--- a/simon/simonverb.cpp
+++ b/simon/simonverb.cpp
@@ -22,6 +22,7 @@
// Verb and hitarea handling
#include "stdafx.h"
#include "simon.h"
+#include "simonintern.h"
void SimonState::defocusHitarea()
{
@@ -430,7 +431,7 @@ bool SimonState::hitarea_proc_3(Item *item)
uint x;
const byte *string_ptr;
- if (item == 0 || item == &_dummy_item_2 || item == &_dummy_item_3)
+ if (item == 0 || item == _dummy_item_2 || item == _dummy_item_3)
return false;
child2 = findChildOfType2(item);