diff options
author | Max Horn | 2002-12-26 20:37:49 +0000 |
---|---|---|
committer | Max Horn | 2002-12-26 20:37:49 +0000 |
commit | 966d435a19930ae357b333d731f6b70e91b5a351 (patch) | |
tree | 5eef3bdae6198a3f2f3dd4e68310e437f2cc0407 /scumm/script.cpp | |
parent | a6e9f3b65dc68eb8b3bca8f28d6be361494b570d (diff) | |
download | scummvm-rg350-966d435a19930ae357b333d731f6b70e91b5a351.tar.gz scummvm-rg350-966d435a19930ae357b333d731f6b70e91b5a351.tar.bz2 scummvm-rg350-966d435a19930ae357b333d731f6b70e91b5a351.zip |
fixed verb scripts
svn-id: r6175
Diffstat (limited to 'scumm/script.cpp')
-rw-r--r-- | scumm/script.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index cb89bea63a..7cf0cce9a2 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -878,10 +878,7 @@ int Scumm::getVerbEntrypoint(int obj, int entry) else verbptr = findResource(MKID('VERB'), objptr); - if (verbptr == NULL) { // FIXME: Hacked from an error() for CMI - warning("No verb block in object %d", obj); - return 0; - } + assert(verbptr); verboffs = verbptr - objptr; |