summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/botcheckerwindow.cpp3
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;