]> git.pond.sub.org Git - empserver/commit
Clean up use of current player in march code
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 29 Jan 2011 09:40:59 +0000 (10:40 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 13 Feb 2011 15:03:34 +0000 (16:03 +0100)
commit38e59474b10b7a5752fe3ce32f4cb261f30d3d91
treeacae2877a06498b0c0a99a98b7c6fa3734573e20
parent98c5a92baaffe27267ad894cfeb6d1660746e635
Clean up use of current player in march code

lnd_mar() and lnd_mar_one_sector() take an actor argument.
Nevertheless, they sometimes used player->cnum.  Fortunately, they are
the same: all callers pass current player for actor.  Normalize to
actor for consistency.
src/lib/subs/lndsub.c