diff options
author | Max Horn | 2006-08-21 10:52:07 +0000 |
---|---|---|
committer | Max Horn | 2006-08-21 10:52:07 +0000 |
commit | 1e683e6124f2f0df749348b2f5a85689e974526d (patch) | |
tree | 5e4f1bf9443c2a8090e74af9758722631b878ce5 /engines/scumm | |
parent | 2c0967e7bbceaba1bb248f6c07ed78e21795711b (diff) | |
download | scummvm-rg350-1e683e6124f2f0df749348b2f5a85689e974526d.tar.gz scummvm-rg350-1e683e6124f2f0df749348b2f5a85689e974526d.tar.bz2 scummvm-rg350-1e683e6124f2f0df749348b2f5a85689e974526d.zip |
Yet another paranoia check
svn-id: r23737
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/script_v2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/scumm/script_v2.cpp b/engines/scumm/script_v2.cpp index 374cb6d498..aee06420c1 100644 --- a/engines/scumm/script_v2.cpp +++ b/engines/scumm/script_v2.cpp @@ -898,6 +898,7 @@ void ScummEngine_v2::o2_doSentence() { return; } + assert(_sentenceNum < NUM_SENTENCE); st = &_sentence[_sentenceNum++]; st->verb = a; |