From 1f07ddc428d4358f76b201f3934601b898612f17 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 22 Feb 2020 15:26:16 +0100 Subject: [PATCH] Fix build. --- .../AngelScript/TypeRegistry/Battling/RegisterBattleClass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterBattleClass.cpp b/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterBattleClass.cpp index 1194e6f..fda0207 100644 --- a/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterBattleClass.cpp +++ b/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterBattleClass.cpp @@ -16,7 +16,7 @@ void RegisterBattleClass::RegisterChoiceQueue(asIScriptEngine* engine) { asMETHOD(CreatureLib::Battling::ChoiceQueue, MoveCreatureChoiceNext), asCALL_THISCALL); assert(r >= 0); - r = engine->RegisterObjectMethod("ChoiceQueue", "BaseTurnChoice Peek() const", + r = engine->RegisterObjectMethod("ChoiceQueue", "const BaseTurnChoice@ Peek() const", asMETHOD(CreatureLib::Battling::ChoiceQueue, Peek), asCALL_THISCALL); assert(r >= 0);