]> git.pond.sub.org Git - empserver/commit
Clean up call of writemap() in ac_encounter()
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 14 Jun 2010 05:42:30 +0000 (07:42 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 18 Jul 2010 06:34:25 +0000 (08:34 +0200)
commit516195399677c89f273e4eccc95b020e3d5ca3f1
treed2e9ee5972ae86b9b26c507b623d861db71f80ec
parentc2cd58d561a85d6b71c2accda46d1ef491ff32e9
Clean up call of writemap() in ac_encounter()

Pass the more obviously correct plane_owner instead of player->cnum.
They're the same, actually.

When deities could still fly foreign planes (before commit 2023b47c),
they weren't.  ac_encounter() updated the plane owner's in-memory
bmap, but wrote the current player's bmap to disk.
src/lib/subs/aircombat.c