diff options
author | Max Horn | 2003-05-20 10:56:04 +0000 |
---|---|---|
committer | Max Horn | 2003-05-20 10:56:04 +0000 |
commit | e420517d027ad7d961088a27272eef939bb9e103 (patch) | |
tree | 61024b8002ba5c6d16a773a5ed77848768ede774 /scumm/charset.cpp | |
parent | 2e8ff540cf75b7096bbdede4a7800a003143b4ac (diff) | |
download | scummvm-rg350-e420517d027ad7d961088a27272eef939bb9e103.tar.gz scummvm-rg350-e420517d027ad7d961088a27272eef939bb9e103.tar.bz2 scummvm-rg350-e420517d027ad7d961088a27272eef939bb9e103.zip |
fixed charset id check
svn-id: r7717
Diffstat (limited to 'scumm/charset.cpp')
-rw-r--r-- | scumm/charset.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/charset.cpp b/scumm/charset.cpp index 45d4188f6b..1081aa2b98 100644 --- a/scumm/charset.cpp +++ b/scumm/charset.cpp @@ -24,7 +24,7 @@ #include "nut_renderer.h" void CharsetRendererCommon::setCurID(byte id) { - _vm->checkRange(_vm->_maxCharsets - 1, 0, _curId, "Printing with bad charset %d"); + _vm->checkRange(_vm->_maxCharsets - 1, 0, id, "Printing with bad charset %d"); _curId = id; @@ -39,7 +39,7 @@ void CharsetRendererCommon::setCurID(byte id) { } void CharsetRendererV3::setCurID(byte id) { - _vm->checkRange(_vm->_maxCharsets - 1, 0, _curId, "Printing with bad charset %d"); + _vm->checkRange(_vm->_maxCharsets - 1, 0, id, "Printing with bad charset %d"); _curId = id; |