Fix build.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-02-22 15:26:16 +01:00
parent 904af99022
commit 1f07ddc428
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 1 additions and 1 deletions

View File

@ -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);