From 554ed06034a2a568580994b6b41532a5d452f0e8 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 7 Jun 2020 11:34:47 +0200 Subject: [PATCH] KINGDOM: Fix warnings --- engines/kingdom/logic2.cpp | 6 +++--- engines/kingdom/logic3.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/engines/kingdom/logic2.cpp b/engines/kingdom/logic2.cpp index 9751994131b..e0e53a797c5 100644 --- a/engines/kingdom/logic2.cpp +++ b/engines/kingdom/logic2.cpp @@ -335,7 +335,7 @@ void Logic::GPL2_301() { if (_vm->_userInput) warning("Skipped UserInput %d(0x%04X) for _StatPlay %d", _vm->_userInput, _vm->_userInput, _statPlay); break; - } + } } void Logic::GPL2_302() { @@ -375,7 +375,7 @@ void Logic::GPL2_311() { _vm->playMovie(68); _statPlay = 992; _vm->_loopFlag = true; - break; + break; default: if (_vm->_userInput) warning("Skipped UserInput %d(0x%04X) for _StatPlay %d", _vm->_userInput, _vm->_userInput, _statPlay); @@ -570,7 +570,7 @@ void Logic::GPL2_351() { _vm->playMovie(178); _vm->_userInput = 0x2F1; _vm->_loopFlag = true; - // No break on purpose + // fallthrough case 0x2F1: _vm->_aTimer = 0; dsAll(); diff --git a/engines/kingdom/logic3.cpp b/engines/kingdom/logic3.cpp index 09101b9e5a0..cb26873c949 100644 --- a/engines/kingdom/logic3.cpp +++ b/engines/kingdom/logic3.cpp @@ -633,7 +633,7 @@ void Logic::GPL3_581() { _vm->_tsIconOnly = true; _currMap = 10; _vm->playSound(30); - // No break on purpose + // fallthrough case 0x428: case 0x429: case 0x42A: