aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/sequence2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/sequence2.cpp')
-rw-r--r--engines/avalanche/sequence2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/avalanche/sequence2.cpp b/engines/avalanche/sequence2.cpp
index 38d46d86c9..f3ba72ad62 100644
--- a/engines/avalanche/sequence2.cpp
+++ b/engines/avalanche/sequence2.cpp
@@ -55,11 +55,12 @@ void Sequence::first_show(byte what) {
void Sequence::then_show(byte what) {
byte fv;
- for (fv = 1; fv <= seq_length; fv ++)
+ for (fv = 1; fv <= seq_length; fv++) {
if (seq[fv] == 0) {
seq[fv] = what;
return;
}
+ }
}
void Sequence::then_flip(byte where, byte ped) {