Fix GetPlayerUserId uninitialized return in Dota 2 (irc, r=psychonic).
This commit is contained in:
parent
a709307fab
commit
3bbb48ce9e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user