Fixes SetStatus and ChangeForme Angelscript functions.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
55cebc4802
commit
95e1e32abe
|
@ -199,12 +199,12 @@ void RegisterPokemonClass::RegisterPokemonType(asIScriptEngine* engine) {
|
|||
r = engine->RegisterObjectMethod("Pokemon", "void ClearStatus() const",
|
||||
asMETHOD(PkmnLib::Battling::Pokemon, ClearStatus), asCALL_THISCALL);
|
||||
Ensure(r >= 0);
|
||||
r = engine->RegisterObjectMethod("Pokemon", "void SetStatus(const constString& name)",
|
||||
r = engine->RegisterObjectMethod("Pokemon", "void SetStatus(const constString &in name)",
|
||||
asMETHOD(PkmnLib::Battling::Pokemon, SetStatus), asCALL_THISCALL);
|
||||
Ensure(r >= 0);
|
||||
|
||||
r = engine->RegisterObjectMethod(
|
||||
"Pokemon", "void ChangeForme(const constString& name)",
|
||||
"Pokemon", "void ChangeForme(const constString &in name)",
|
||||
asMETHODPR(PkmnLib::Battling::Pokemon, ChangeVariant, (const ArbUt::StringView&), void), asCALL_THISCALL);
|
||||
Ensure(r >= 0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue