aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-08-05 16:51:40 +0000
committerMax Horn2003-08-05 16:51:40 +0000
commit10508d4d2bfeff8baa9615596521a1c1a2c44d07 (patch)
tree608fd415469877e41ca039348e7c625e5c9fb1b5 /scumm
parent7cbb06c4a60aeb1bbfe0b593b13c3228160da71b (diff)
downloadscummvm-rg350-10508d4d2bfeff8baa9615596521a1c1a2c44d07.tar.gz
scummvm-rg350-10508d4d2bfeff8baa9615596521a1c1a2c44d07.tar.bz2
scummvm-rg350-10508d4d2bfeff8baa9615596521a1c1a2c44d07.zip
fix warning / whitespace
svn-id: r9504
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index df3d359276..aafb347e1a 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -934,7 +934,7 @@ void Scumm_v2::o2_drawSentence() {
static char sentence[256];
const byte *temp;
int slot = getVerbSlot(VAR(VAR_SENTENCE_VERB),0);
- printf("slot is %d\n");
+
if (!(_userState & 32))
return;
@@ -951,16 +951,16 @@ void Scumm_v2::o2_drawSentence() {
}
if ((_version == 1) && (VAR(VAR_SENTENCE_PREPOSITION) == 0)) {
- byte *ptr = getOBCDFromObject(VAR(VAR_SENTENCE_OBJECT1)) + 12;
+ byte *ptr = getOBCDFromObject(VAR(VAR_SENTENCE_OBJECT1)) + 12;
VerbSlot *vs = &_verbs[slot];
-
+
if (ptr) {
if (vs->prep == 0)
VAR(VAR_SENTENCE_PREPOSITION) = (*ptr >> 5);
else
VAR(VAR_SENTENCE_PREPOSITION) = vs->prep;
}
- }
+ }
}
if (0 < VAR(VAR_SENTENCE_PREPOSITION) && VAR(VAR_SENTENCE_PREPOSITION) <= 4) {