]> git.pond.sub.org Git - empserver/commit
Drop useless checks for player->aborted in draw_map()
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 9 Apr 2011 13:36:40 +0000 (15:36 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 14 Apr 2011 18:21:22 +0000 (20:21 +0200)
commit5230ea8de4d78f7a0a4a4c86303bd274dab95827
tree370841cba9615204509c315c19ffb464f88ce839
parent2f86e79e8070116117867591a146b8683f42ff26
Drop useless checks for player->aborted in draw_map()

player->aborted gets set when we get an interrupt or EOF cookie from
the player, when update or shutdown abort commands, and when we abort
an attack (not relevant here).

The checks are useless: player interrupt and EOF are checked
elsewhere, and update/shutdown can run only when we yield the
processor, which we never do (output doesn't yield because C_MOD is
set).
src/lib/subs/maps.c