diff options
Diffstat (limited to 'src/gui/botcheckerwindow.cpp')
-rw-r--r-- | src/gui/botcheckerwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/botcheckerwindow.cpp b/src/gui/botcheckerwindow.cpp index 97e01b4b2..a18669da0 100644 --- a/src/gui/botcheckerwindow.cpp +++ b/src/gui/botcheckerwindow.cpp @@ -124,8 +124,9 @@ public: } const unsigned int curTime = cur_time; + const unsigned int sz = mPlayers.size(); // set up widgets - for (unsigned int r = 0; r < mPlayers.size(); ++r) + for (unsigned int r = 0; r < sz; ++r) { if (!mPlayers.at(r)) continue; |