summaryrefslogtreecommitdiff
path: root/src/game-server/state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/state.cpp')
-rw-r--r--src/game-server/state.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game-server/state.cpp b/src/game-server/state.cpp
index 61829a57..3b6dd624 100644
--- a/src/game-server/state.cpp
+++ b/src/game-server/state.cpp
@@ -450,10 +450,16 @@ void GameState::update(int worldTime)
for (CharacterIterator p(map->getWholeMapIterator()); p; ++p)
{
informPlayer(map, *p);
+ /*
+ sending the whole character is overhead for the database, it should
+ be replaced by a syncbuffer. see: game-server/accountconnection:
+ AccountConnection::syncChanges()
+
if (worldTime % 2000 == 0)
{
accountHandler->sendCharacterData(*p);
}
+ */
}
for (ObjectIterator i(map->getWholeMapIterator()); i; ++i)