summaryrefslogtreecommitdiff
path: root/scripts/lua
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-03-27 22:46:03 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-04-02 21:09:52 +0200
commit0fceeeb5e9546211f12915b187ce74cd546012e9 (patch)
tree907b4f9f7aec29cc61e9ebf05f58c1d87ee752cd /scripts/lua
parentf9e40669e0f34ac72e78ba38b3717340bc4ede82 (diff)
downloadmanaserv-0fceeeb5e9546211f12915b187ce74cd546012e9.tar.gz
manaserv-0fceeeb5e9546211f12915b187ce74cd546012e9.tar.bz2
manaserv-0fceeeb5e9546211f12915b187ce74cd546012e9.tar.xz
manaserv-0fceeeb5e9546211f12915b187ce74cd546012e9.zip
Split GameHandler::processMessage up into multiple functions
One huge function that handles all the messages isn't very readable and causes everything to be indented by several levels. Hence we generally split this up. It also exposed a missing 'break;' when handling the PGMSG_USE_SPECIAL message, which would continue into the handling of PGMSG_ACTION_CHANGE. Reviewed-by: Stefan Dombrowski
Diffstat (limited to 'scripts/lua')
0 files changed, 0 insertions, 0 deletions