[Scummvm-git-logs] scummvm master -> 93465609ebb79603dd9e7caaeee31a2dc857d6f6
sev-
noreply at scummvm.org
Tue May 28 19:21:25 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
93465609eb JANITORIAL: Fix code formatting
Commit: 93465609ebb79603dd9e7caaeee31a2dc857d6f6
https://github.com/scummvm/scummvm/commit/93465609ebb79603dd9e7caaeee31a2dc857d6f6
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-05-28T21:21:04+02:00
Commit Message:
JANITORIAL: Fix code formatting
Changed paths:
engines/director/lingo/lingo.cpp
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp
index fc71f98d71c..0ba30669b72 100644
--- a/engines/director/lingo/lingo.cpp
+++ b/engines/director/lingo/lingo.cpp
@@ -617,12 +617,12 @@ bool Lingo::execute() {
uint localCounter = 0;
while (!_abort && !_freezeState && _state->script && (*_state->script)[_state->pc] != STOP) {
- if(_exec._next._enabled && _state->callstack.size() == _exec._next._stackSize) {
+ if (_exec._next._enabled && _state->callstack.size() == _exec._next._stackSize) {
// we reach the next statement -> pause the execution
_exec._state = kPause;
_exec._next._enabled = false;
}
- if(!_exec._step || _exec._state == kPause) {
+ if (!_exec._step || _exec._state == kPause) {
// if execution is in pause -> poll event + update screen
_exec._state = kPause;
Common::EventManager *eventMan = g_system->getEventManager();
@@ -674,7 +674,8 @@ bool Lingo::execute() {
}
g_debugger->stepHook();
- if (_exec._step > 0) _exec._step--;
+ if (_exec._step > 0)
+ _exec._step--;
_state->pc++;
(*((*_state->script)[_state->pc - 1]))();
More information about the Scummvm-git-logs
mailing list