Fix MoveTurnChoice.GetUser returning a const in angelscript.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
59a092a06e
commit
3fb32c33ec
|
@ -45,7 +45,7 @@ void RegisterTurnChoices::RegisterMoveTurnChoice(asIScriptEngine* engine) {
|
|||
r = engine->RegisterObjectMethod("MoveTurnChoice", "TurnChoiceKind get_Kind() const property",
|
||||
asMETHOD(CreatureLib::Battling::AttackTurnChoice, GetKind), asCALL_THISCALL);
|
||||
Ensure(r >= 0);
|
||||
r = engine->RegisterObjectMethod("MoveTurnChoice", "const Pokemon@ get_User() const property",
|
||||
r = engine->RegisterObjectMethod("MoveTurnChoice", "Pokemon@ get_User() const property",
|
||||
asFUNCTION(GetUserWrapper), asCALL_CDECL_OBJFIRST);
|
||||
Ensure(r >= 0);
|
||||
r = engine->RegisterObjectMethod("MoveTurnChoice", "LearnedMove@ get_Move() const property",
|
||||
|
|
Loading…
Reference in New Issue