mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 17:03:05 +00:00
ZVISION: Fix code mis-alignment created from variable rename
This commit is contained in:
parent
acb172251a
commit
808a2045b4
@ -195,16 +195,16 @@ void ZVision::processEvents() {
|
||||
case Common::KEYCODE_RIGHT:
|
||||
if (_renderManager->getRenderTable()->getRenderState() == RenderTable::PANORAMA)
|
||||
_keyboardVelocity = (_event.kbd.keycode == Common::KEYCODE_LEFT ?
|
||||
-_scriptManager->getStateValue(StateKey_KbdRotateSpeed) :
|
||||
_scriptManager->getStateValue(StateKey_KbdRotateSpeed)) * 2;
|
||||
-_scriptManager->getStateValue(StateKey_KbdRotateSpeed) :
|
||||
_scriptManager->getStateValue(StateKey_KbdRotateSpeed)) * 2;
|
||||
break;
|
||||
|
||||
case Common::KEYCODE_UP:
|
||||
case Common::KEYCODE_DOWN:
|
||||
if (_renderManager->getRenderTable()->getRenderState() == RenderTable::TILT)
|
||||
_keyboardVelocity = (_event.kbd.keycode == Common::KEYCODE_UP ?
|
||||
-_scriptManager->getStateValue(StateKey_KbdRotateSpeed) :
|
||||
_scriptManager->getStateValue(StateKey_KbdRotateSpeed)) * 2;
|
||||
-_scriptManager->getStateValue(StateKey_KbdRotateSpeed) :
|
||||
_scriptManager->getStateValue(StateKey_KbdRotateSpeed)) * 2;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user