src/network/core/tcp.c
changeset 5779 d94be8c0cf86
parent 5778 c1454e0c03bf
equal deleted inserted replaced
5778:c1454e0c03bf 5779:d94be8c0cf86
    44 /**
    44 /**
    45  * Whether the client has quit or not (used in packet.c)
    45  * Whether the client has quit or not (used in packet.c)
    46  * @param cs the client to check
    46  * @param cs the client to check
    47  * @return true if the client has quit
    47  * @return true if the client has quit
    48  */
    48  */
    49 bool HasClientQuit(NetworkClientState *cs)
    49 bool HasClientQuit(const NetworkClientState *cs)
    50 {
    50 {
    51 	return cs->has_quit;
    51 	return cs->has_quit;
    52 }
    52 }
    53 
    53 
    54 /**
    54 /**