Fix GetPlayerUserId uninitialized return in Dota 2 (irc, r=psychonic).

This commit is contained in:
Kyle Sanderson 2014-01-25 16:58:12 -07:00
parent a709307fab
commit 3bbb48ce9e

View File

@ -162,7 +162,7 @@
inline int GetPlayerUserId(int client) inline int GetPlayerUserId(int client)
{ {
engine->GetPlayerUserId(client - 1); return engine->GetPlayerUserId(client - 1);
} }
#else #else
inline int GetPlayerUserId(edict_t *pEdict) inline int GetPlayerUserId(edict_t *pEdict)