From b8390fa161c0c324af0e52a4f3a740cca9e9a479 Mon Sep 17 00:00:00 2001 From: sluicebox Date: Fri, 15 Nov 2019 01:38:21 -0800 Subject: GRAPHICS: Add interface for horizontal shake --- engines/supernova/game-manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/supernova') diff --git a/engines/supernova/game-manager.cpp b/engines/supernova/game-manager.cpp index 66fb013f86..1af355b4d9 100644 --- a/engines/supernova/game-manager.cpp +++ b/engines/supernova/game-manager.cpp @@ -804,9 +804,9 @@ void GameManager::saveTime() { void GameManager::screenShake() { for (int i = 0; i < 12; ++i) { - _vm->_system->setShakePos(8); + _vm->_system->setShakePos(0, 8); wait(1); - _vm->_system->setShakePos(0); + _vm->_system->setShakePos(0, 0); wait(1); } } -- cgit v1.2.3