diff options
author | Matthew Hoops | 2010-06-26 19:09:45 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-06-26 19:09:45 +0000 |
commit | e5e90eb8a8078d108d9985e6303b3975f1b6da55 (patch) | |
tree | 1e5fbb976a4408a899104bec5bafe3c8461e538b /engines/mohawk/riven_external.cpp | |
parent | 2b9f4e5068081b3b172ac859648555f1f9bdecdb (diff) | |
download | scummvm-rg350-e5e90eb8a8078d108d9985e6303b3975f1b6da55.tar.gz scummvm-rg350-e5e90eb8a8078d108d9985e6303b3975f1b6da55.tar.bz2 scummvm-rg350-e5e90eb8a8078d108d9985e6303b3975f1b6da55.zip |
Add a debug console command to Riven for displaying combinations to puzzles.
svn-id: r50338
Diffstat (limited to 'engines/mohawk/riven_external.cpp')
-rw-r--r-- | engines/mohawk/riven_external.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/riven_external.cpp b/engines/mohawk/riven_external.cpp index 24466305fe..67d621a54c 100644 --- a/engines/mohawk/riven_external.cpp +++ b/engines/mohawk/riven_external.cpp @@ -1325,7 +1325,7 @@ void RivenExternal::xogehnbooknextpage(uint16 argc, uint16 *argv) { _vm->_gfx->updateScreen(); } -static uint16 getComboDigit(uint32 correctCombo, uint32 digit) { +uint16 RivenExternal::getComboDigit(uint32 correctCombo, uint32 digit) { static const uint32 powers[] = { 100000, 10000, 1000, 100, 10, 1 }; return (correctCombo % powers[digit]) / powers[digit + 1]; } |