2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-04-25 07:43:40 +03:00

Corrected type of return value: NULL into FALSE.

This commit is contained in:
Lev 2017-01-24 22:57:07 +05:00
parent 2382a8876f
commit 43fbd196a9

View File

@ -672,7 +672,7 @@ qboolean Steam_NotifyClientConnect_internal(client_t *cl, const void *pvSteam2Ke
{ {
return Steam3Server()->NotifyClientConnect(cl, pvSteam2Key, ucbSteam2Key); return Steam3Server()->NotifyClientConnect(cl, pvSteam2Key, ucbSteam2Key);
} }
return NULL; return FALSE;
} }
qboolean EXT_FUNC Steam_NotifyBotConnect_api(IGameClient* cl) qboolean EXT_FUNC Steam_NotifyBotConnect_api(IGameClient* cl)
@ -691,7 +691,7 @@ qboolean Steam_NotifyBotConnect_internal(client_t *cl)
{ {
return Steam3Server()->NotifyBotConnect(cl); return Steam3Server()->NotifyBotConnect(cl);
} }
return NULL; return FALSE;
} }
void EXT_FUNC Steam_NotifyClientDisconnect_api(IGameClient* cl) void EXT_FUNC Steam_NotifyClientDisconnect_api(IGameClient* cl)