diff options
author | Patric Stout <truebrain@openttd.org> | 2020-12-26 13:54:00 +0100 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2020-12-26 13:32:25 +0000 |
commit | 8fa2a67f6b486d4169cdf0a3782782f8e71e04ad (patch) | |
tree | 227e21ee3db96690c5524a453d8e71ff81883d8c | |
parent | f2d78b11ddc50cea53a8c84e3584319ba5dd0e7b (diff) | |
download | openttd-8fa2a67f6b486d4169cdf0a3782782f8e71e04ad.tar.xz |
Fix f66baa44: for-loop is no longer increasing "i"
During conversion it was overlooked that the for-loop used to do
this. Oops.
-rw-r--r-- | src/ai/ai_gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp index 23d1e81b7..f1ee03fc1 100644 --- a/src/ai/ai_gui.cpp +++ b/src/ai/ai_gui.cpp @@ -92,6 +92,8 @@ struct AIListWindow : public Window { this->selected = i; break; } + + i++; } } } |