diff options
author | Filippos Karapetis | 2011-11-05 02:53:08 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-11-05 03:00:42 +0200 |
commit | 267c6f1756c9582b8bd9534334c7f264a2400929 (patch) | |
tree | 3371fa3b24dc20abb4145f6e87291cdcf0e4b955 /engines/sci/console.cpp | |
parent | d70d6c4c50942ec3679fce07ff6045b5d18ed9a1 (diff) | |
download | scummvm-rg350-267c6f1756c9582b8bd9534334c7f264a2400929.tar.gz scummvm-rg350-267c6f1756c9582b8bd9534334c7f264a2400929.tar.bz2 scummvm-rg350-267c6f1756c9582b8bd9534334c7f264a2400929.zip |
SCI: Made more fields of the Script class private. Some cleanup.
Diffstat (limited to 'engines/sci/console.cpp')
-rw-r--r-- | engines/sci/console.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp index a44c661561..664fa6747b 100644 --- a/engines/sci/console.cpp +++ b/engines/sci/console.cpp @@ -1876,8 +1876,8 @@ bool Console::segmentInfo(int nr) { DebugPrintf(" Synonyms: %4d\n", scr->getSynonymsNr()); - if (scr->_localsBlock) - DebugPrintf(" Locals : %4d in segment 0x%x\n", scr->_localsBlock->_locals.size(), scr->_localsSegment); + if (scr->getLocalsCount() > 0) + DebugPrintf(" Locals : %4d in segment 0x%x\n", scr->getLocalsCount(), scr->getLocalsSegment()); else DebugPrintf(" Locals : none\n"); |