]> git.pond.sub.org Git - empserver/commit
Factor out gamehours and max minutes per day checks
authorRon Koenderink <rkoenderink@yahoo.ca>
Sun, 1 Feb 2009 12:29:57 +0000 (06:29 -0600)
committerRon Koenderink <rkoenderink@yahoo.ca>
Sun, 1 Feb 2009 12:29:57 +0000 (06:29 -0600)
commitd1ff2a608971573eff769bf068e0e2122e88e531
tree1e258a66a4b56305f52b58c282f78241b9b07778
parenta499a5d8f2ff6235f43ab63464b653cba86d0c0b
Factor out gamehours and max minutes per day checks

Combine the checks from player_main(), command() and status() into
may_play_now().
include/prototypes.h
src/lib/player/empdis.c
src/lib/player/player.c