Fix build.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
904af99022
commit
1f07ddc428
|
@ -16,7 +16,7 @@ void RegisterBattleClass::RegisterChoiceQueue(asIScriptEngine* engine) {
|
||||||
asMETHOD(CreatureLib::Battling::ChoiceQueue, MoveCreatureChoiceNext),
|
asMETHOD(CreatureLib::Battling::ChoiceQueue, MoveCreatureChoiceNext),
|
||||||
asCALL_THISCALL);
|
asCALL_THISCALL);
|
||||||
assert(r >= 0);
|
assert(r >= 0);
|
||||||
r = engine->RegisterObjectMethod("ChoiceQueue", "BaseTurnChoice Peek() const",
|
r = engine->RegisterObjectMethod("ChoiceQueue", "const BaseTurnChoice@ Peek() const",
|
||||||
asMETHOD(CreatureLib::Battling::ChoiceQueue, Peek),
|
asMETHOD(CreatureLib::Battling::ChoiceQueue, Peek),
|
||||||
asCALL_THISCALL);
|
asCALL_THISCALL);
|
||||||
assert(r >= 0);
|
assert(r >= 0);
|
||||||
|
|
Loading…
Reference in New Issue