diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-03-24 00:50:31 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-03-24 00:50:31 +0000 |
commit | a34741f590ed24c2a6e0c0ebbde832572c606b94 (patch) | |
tree | 4377e04499c9cb6ffba2c005d97bd47cdcae0a82 /src/main.cpp | |
parent | 82c7ecf7a838c43771a676bb9311f9a1fc403f67 (diff) | |
download | mana-a34741f590ed24c2a6e0c0ebbde832572c606b94.tar.gz mana-a34741f590ed24c2a6e0c0ebbde832572c606b94.tar.bz2 mana-a34741f590ed24c2a6e0c0ebbde832572c606b94.tar.xz mana-a34741f590ed24c2a6e0c0ebbde832572c606b94.zip |
Changed the order of network message handling and logic, in order to prevent an
incoming character delete message from deleting the player character that was
about to be drawn.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 98a7aeb7..78b967e2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -625,9 +625,9 @@ int main(int argc, char *argv[]) guiInput->pushInput(event); } - gui->logic(); network->flush(); network->dispatchMessages(); + gui->logic(); if (network->getState() == Network::NET_ERROR) { |