diff options
author | Max Horn | 2003-05-14 20:37:53 +0000 |
---|---|---|
committer | Max Horn | 2003-05-14 20:37:53 +0000 |
commit | f495c14d84e77ea1e6c38b4844c68b4f2cb915ab (patch) | |
tree | 2568860bdeb544f7a5acd247634126c790e23a17 /scumm/script_v6.cpp | |
parent | eb22ea3b96b4e76b6ac717490d33abbb314acb62 (diff) | |
download | scummvm-rg350-f495c14d84e77ea1e6c38b4844c68b4f2cb915ab.tar.gz scummvm-rg350-f495c14d84e77ea1e6c38b4844c68b4f2cb915ab.tar.bz2 scummvm-rg350-f495c14d84e77ea1e6c38b4844c68b4f2cb915ab.zip |
opcodes are just one byte
svn-id: r7513
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index ed7b8caed4..dda4e05013 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -366,12 +366,12 @@ void Scumm_v6::setupOpcodes() { _opcodesV6 = opcodes; } -void Scumm_v6::executeOpcode(int i) { +void Scumm_v6::executeOpcode(byte i) { OpcodeProcV6 op = _opcodesV6[i].proc; (this->*op) (); } -const char *Scumm_v6::getOpcodeDesc(int i) { +const char *Scumm_v6::getOpcodeDesc(byte i) { return _opcodesV6[i].desc; } |