diff options
Diffstat (limited to 'resource.cpp')
-rw-r--r-- | resource.cpp | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/resource.cpp b/resource.cpp index 12bb6697a4..7aef5d4dfb 100644 --- a/resource.cpp +++ b/resource.cpp @@ -1235,22 +1235,11 @@ void Scumm::allocateArrays() -uint32 Scumm::isGlobInMemory(int type, int index) - +bool Scumm::isGlobInMemory(int type, int index) { - validateResource("isGlobInMemory",type,index); - - - if(res.address[type][index]==NULL) - - return(0); - - - - return(1); - + return res.address[type][index] != NULL; } |