]> git.pond.sub.org Git - empserver/commit
(player_find_other): Replace by getplayer. player_find_other()
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 2 Oct 2005 16:30:43 +0000 (16:30 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 2 Oct 2005 16:30:43 +0000 (16:30 +0000)
commited5ba9fe3e60e9525522b25f557ad2c0c47fa005
treed1d22f00a11f29977c91b5608ad9e00710a40f6d
parentf6a8a148316a7fea2debd655638b24a0caf87a1a
(player_find_other): Replace by getplayer.  player_find_other()
searches for a player other than US for country CNUM, which is in
state PS_PLAYING.  Since there can be at most one player in state
PS_PLAYING, and no caller pass that player as US, they can simply use
getplayer() instead.
include/prototypes.h
src/lib/player/accept.c
src/lib/player/login.c