aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/talk.cpp
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-04-22 00:49:39 +0200
committerAdrian Frühwirth2018-04-22 00:56:21 +0200
commita20f90cbb7bfd61ee32ccd32603766de02c03ac8 (patch)
tree584197b20b101d746b64a20e3f1073b4b8808bb7 /engines/hopkins/talk.cpp
parentdd425413b5c69861fffe0071e6ca74b33a78c341 (diff)
downloadscummvm-rg350-a20f90cbb7bfd61ee32ccd32603766de02c03ac8.tar.gz
scummvm-rg350-a20f90cbb7bfd61ee32ccd32603766de02c03ac8.tar.bz2
scummvm-rg350-a20f90cbb7bfd61ee32ccd32603766de02c03ac8.zip
JANITORIAL: Fix formatting
Diffstat (limited to 'engines/hopkins/talk.cpp')
-rw-r--r--engines/hopkins/talk.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/hopkins/talk.cpp b/engines/hopkins/talk.cpp
index 00c4ab0332..f3cd6bd026 100644
--- a/engines/hopkins/talk.cpp
+++ b/engines/hopkins/talk.cpp
@@ -120,9 +120,9 @@ void TalkManager::startAnimatedCharacterDialogue(const Common::String &filename)
if (_vm->_globals->_introSpeechOffFl) {
int idx = 1;
int answer;
- do
+ do {
answer = dialogAnswer(idx++, false);
- while (answer != -1);
+ } while (answer != -1);
}
clearCharacterAnim();
_vm->_globals->_introSpeechOffFl = false;
@@ -208,9 +208,9 @@ void TalkManager::startStaticCharacterDialogue(const Common::String &filename) {
if (_vm->_globals->_introSpeechOffFl) {
int idx = 1;
int answer;
- do
+ do {
answer = dialogAnswer(idx++, true);
- while (answer != -1);
+ } while (answer != -1);
}
_characterBuffer = _vm->_globals->freeMemory(_characterBuffer);
@@ -879,9 +879,9 @@ void TalkManager::handleForestAnswser(int zone, int verb) {
_vm->_objectsMan->setBobAnimation(6);
_vm->_soundMan->playSample(1);
_vm->_objectsMan->showSpecialActionAnimation(_vm->_objectsMan->_forestSprite, "13,14,15,14,13,12,13,14,15,16,-1,", 4);
- do
+ do {
_vm->_events->refreshScreenAndEvents();
- while (_vm->_objectsMan->getBobAnimDataIdx(6) < 12);
+ } while (_vm->_objectsMan->getBobAnimDataIdx(6) < 12);
_vm->_objectsMan->stopBobAnimation(6);
_vm->_objectsMan->setBobAnimation(8);
@@ -927,9 +927,9 @@ void TalkManager::handleForestAnswser(int zone, int verb) {
_vm->_objectsMan->setBobAnimation(5);
_vm->_soundMan->playSample(1);
_vm->_objectsMan->showSpecialActionAnimation(_vm->_objectsMan->_forestSprite, "13,14,15,14,13,12,13,14,15,16,-1,", 4);
- do
+ do {
_vm->_events->refreshScreenAndEvents();
- while (_vm->_objectsMan->getBobAnimDataIdx(5) < 12);
+ } while (_vm->_objectsMan->getBobAnimDataIdx(5) < 12);
_vm->_objectsMan->stopBobAnimation(5);
_vm->_objectsMan->setBobAnimation(7);
switch (_vm->_globals->_screenId) {