diff options
author | Eric Fry | 2018-06-28 22:20:36 +1000 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | fee1f3d8cb065182322bc80aba39a66a1b4b0cfb (patch) | |
tree | f152dd04ca1313d799d6edcc1d20ba5f789b52e0 /engines/illusions/scriptstack.cpp | |
parent | 608f2f1f1ae524fd6ffc656dfcef3985988adaa9 (diff) | |
download | scummvm-rg350-fee1f3d8cb065182322bc80aba39a66a1b4b0cfb.tar.gz scummvm-rg350-fee1f3d8cb065182322bc80aba39a66a1b4b0cfb.tar.bz2 scummvm-rg350-fee1f3d8cb065182322bc80aba39a66a1b4b0cfb.zip |
ILLUSIONS: always use braces for loops
Diffstat (limited to 'engines/illusions/scriptstack.cpp')
-rw-r--r-- | engines/illusions/scriptstack.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/illusions/scriptstack.cpp b/engines/illusions/scriptstack.cpp index 36cd3cb8e5..0bad714657 100644 --- a/engines/illusions/scriptstack.cpp +++ b/engines/illusions/scriptstack.cpp @@ -32,8 +32,9 @@ ScriptStack::ScriptStack() { } void ScriptStack::clear() { - for (uint i = 0; i < 256; ++i) + for (uint i = 0; i < 256; ++i) { _stack[i] = (int16)0xEEEE; + } _stackPos = 256; } |