aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/scripts/server/scriptuserinfo.cpp
diff options
context:
space:
mode:
authorJan <sentrycraft123@gmail.com>2023-06-29 04:19:34 +0100
committerGitHub <noreply@github.com>2023-06-28 23:19:34 -0400
commitb5c4e4e7ed81394070b05296ed087b6043d27667 (patch)
treedc4d7eaa7eed4fec24fc3d1821ca10b749bc0435 /NorthstarDLL/scripts/server/scriptuserinfo.cpp
parent2bd882e9aa9f40cf077091148c09765aa0a1f6b1 (diff)
downloadNorthstarLauncher-b5c4e4e7ed81394070b05296ed087b6043d27667.tar.gz
NorthstarLauncher-b5c4e4e7ed81394070b05296ed087b6043d27667.zip
Replace dependent names with explicit template definition (#490)
Diffstat (limited to 'NorthstarDLL/scripts/server/scriptuserinfo.cpp')
-rw-r--r--NorthstarDLL/scripts/server/scriptuserinfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/NorthstarDLL/scripts/server/scriptuserinfo.cpp b/NorthstarDLL/scripts/server/scriptuserinfo.cpp
index 6b26ed61..fac458a3 100644
--- a/NorthstarDLL/scripts/server/scriptuserinfo.cpp
+++ b/NorthstarDLL/scripts/server/scriptuserinfo.cpp
@@ -7,7 +7,7 @@ ADD_SQFUNC("string", GetUserInfoKVString_Internal, "entity player, string key, s
"Gets the string value of a given player's userinfo convar by name", ScriptContext::SERVER)
// clang-format on
{
- const R2::CBasePlayer* pPlayer = g_pSquirrel<ScriptContext::SERVER>->getentity<R2::CBasePlayer>(sqvm, 1);
+ const R2::CBasePlayer* pPlayer = g_pSquirrel<ScriptContext::SERVER>->template getentity<R2::CBasePlayer>(sqvm, 1);
if (!pPlayer)
{
g_pSquirrel<ScriptContext::SERVER>->raiseerror(sqvm, "player is null");
@@ -27,7 +27,7 @@ ADD_SQFUNC("asset", GetUserInfoKVAsset_Internal, "entity player, string key, ass
"Gets the asset value of a given player's userinfo convar by name", ScriptContext::SERVER)
// clang-format on
{
- const R2::CBasePlayer* pPlayer = g_pSquirrel<ScriptContext::SERVER>->getentity<R2::CBasePlayer>(sqvm, 1);
+ const R2::CBasePlayer* pPlayer = g_pSquirrel<ScriptContext::SERVER>->template getentity<R2::CBasePlayer>(sqvm, 1);
if (!pPlayer)
{
g_pSquirrel<ScriptContext::SERVER>->raiseerror(sqvm, "player is null");
@@ -48,7 +48,7 @@ ADD_SQFUNC("int", GetUserInfoKVInt_Internal, "entity player, string key, int def
"Gets the int value of a given player's userinfo convar by name", ScriptContext::SERVER)
// clang-format on
{
- const R2::CBasePlayer* pPlayer = g_pSquirrel<ScriptContext::SERVER>->getentity<R2::CBasePlayer>(sqvm, 1);
+ const R2::CBasePlayer* pPlayer = g_pSquirrel<ScriptContext::SERVER>->template getentity<R2::CBasePlayer>(sqvm, 1);
if (!pPlayer)
{
g_pSquirrel<ScriptContext::SERVER>->raiseerror(sqvm, "player is null");