diff options
author | Paul Gilbert | 2014-03-16 14:53:10 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-03-16 14:53:10 -0400 |
commit | f3415b762eede6481cbfcb48faecfec505150eab (patch) | |
tree | 0a7ab06655e724c417ad4aade16359722b15f7a6 /engines/mads/user_interface.cpp | |
parent | 834cf846f14ac613b96a662b9701380e7a132d9b (diff) | |
download | scummvm-rg350-f3415b762eede6481cbfcb48faecfec505150eab.tar.gz scummvm-rg350-f3415b762eede6481cbfcb48faecfec505150eab.tar.bz2 scummvm-rg350-f3415b762eede6481cbfcb48faecfec505150eab.zip |
MADS: Implemented lots of Player methods
Diffstat (limited to 'engines/mads/user_interface.cpp')
-rw-r--r-- | engines/mads/user_interface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/user_interface.cpp b/engines/mads/user_interface.cpp index cbd4573eb4..3b3fc9379a 100644 --- a/engines/mads/user_interface.cpp +++ b/engines/mads/user_interface.cpp @@ -42,7 +42,7 @@ UserInterface::UserInterface(MADSEngine *vm) : _vm(vm) { _inventoryTopIndex = 0; _objectY = 0; - byte *pData = _vm->_screen.getBasePtr(0, MADS_SCREEN_HEIGHT - MADS_INTERFACE_HEIGHT); + byte *pData = _vm->_screen.getBasePtr(0, MADS_SCENE_HEIGHT); setPixels(pData, MADS_SCREEN_WIDTH, MADS_INTERFACE_HEIGHT); } @@ -270,7 +270,7 @@ bool UserInterface::getBounds(ScrCategory category, int v, Common::Rect &bounds) } void UserInterface::moveRect(Common::Rect &bounds) { - bounds.translate(0, MADS_SCREEN_HEIGHT - MADS_INTERFACE_HEIGHT); + bounds.translate(0, MADS_SCENE_HEIGHT); } } // End of namespace MADS |