From 0549a7a01d272233e926597593c073ef5ded9152 Mon Sep 17 00:00:00 2001 From: Koncord Date: Thu, 28 Jul 2016 20:09:12 +0800 Subject: [PATCH] Fixed type cast --- apps/openmw-mp/Script/ScriptFunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw-mp/Script/ScriptFunctions.cpp b/apps/openmw-mp/Script/ScriptFunctions.cpp index da3301db3..fc29c6d5b 100644 --- a/apps/openmw-mp/Script/ScriptFunctions.cpp +++ b/apps/openmw-mp/Script/ScriptFunctions.cpp @@ -65,7 +65,7 @@ void ScriptFunctions::GetArguments(std::vector ¶ms, va_list args case 's': { - params.emplace_back(string(va_arg(args, const char*))); + params.emplace_back(va_arg(args, const char*)); break; }