diff options
author | Max Horn | 2002-12-25 20:07:09 +0000 |
---|---|---|
committer | Max Horn | 2002-12-25 20:07:09 +0000 |
commit | 5c39a82633fd158fe40ae107160b07da699ef169 (patch) | |
tree | 007e43c86b2232447d132c4a1b994d8cee2da6ed /scumm/script.cpp | |
parent | 5f5e96e24f9864c185846a9257b61ea26dc51a34 (diff) | |
download | scummvm-rg350-5c39a82633fd158fe40ae107160b07da699ef169.tar.gz scummvm-rg350-5c39a82633fd158fe40ae107160b07da699ef169.tar.bz2 scummvm-rg350-5c39a82633fd158fe40ae107160b07da699ef169.zip |
two good rules of thumb: don't use typecasts if you don't have to - type cast have a nasty habit of hiding and causing problems. When a method takes a pointer argument, if possible make it const. :-). Cleanup. Fixed font rendering in CMI: you need to call updateDirtyRect() if you modify the screen...
svn-id: r6143
Diffstat (limited to 'scumm/script.cpp')
-rw-r--r-- | scumm/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index 5b4b4213eb..2613acc3b1 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -285,7 +285,7 @@ void Scumm::executeScript() _opcode = fetchScriptByte(); _scriptPointerStart = _scriptPointer; vm.slot[_currentScript].didexec = 1; - debug(1, "Script %d, offset 0x%x: [%X] %s()", + debug(3, "Script %d, offset 0x%x: [%X] %s()", vm.slot[_currentScript].number, _scriptPointer - _scriptOrgPointer, _opcode, |