diff options
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r-- | src/gui/chat.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index b7a57da5..ab98b594 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -287,11 +287,11 @@ void ChatWindow::chatInput(std::string &msg) void ChatWindow::doPresent() { - Beings & beings = beingManager->getAll(); + const Beings &beings = beingManager->getAll(); std::string response = ""; - for (BeingIterator bi = beings.begin(), be = beings.end(); - bi != be; ++bi) + for (Beings::const_iterator bi = beings.begin(), be = beings.end(); + bi != be; ++bi) { if ((*bi)->getType() == Being::PLAYER) { |