From 3bbb48ce9e3ec47aac595d15cff7646a9f531501 Mon Sep 17 00:00:00 2001 From: Kyle Sanderson Date: Sat, 25 Jan 2014 16:58:12 -0700 Subject: [PATCH] Fix GetPlayerUserId uninitialized return in Dota 2 (irc, r=psychonic). --- public/compat_wrappers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/compat_wrappers.h b/public/compat_wrappers.h index bb7d0598..770ea1f7 100644 --- a/public/compat_wrappers.h +++ b/public/compat_wrappers.h @@ -162,7 +162,7 @@ inline int GetPlayerUserId(int client) { - engine->GetPlayerUserId(client - 1); + return engine->GetPlayerUserId(client - 1); } #else inline int GetPlayerUserId(edict_t *pEdict)