Fixed invalid AngelScript declaration.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
ed287f93db
commit
6a3df344da
|
@ -61,7 +61,7 @@ void RegisterBattleClass::RegisterBattle(asIScriptEngine* engine) {
|
|||
asMETHOD(CreatureLib::Battling::Battle, GetCurrentTurnQueue), asCALL_THISCALL);
|
||||
assert(r >= 0);
|
||||
r = engine->RegisterObjectMethod(
|
||||
"Battle", "void AddVolatile(const string &in name) const property",
|
||||
"Battle", "void AddVolatile(const string &in name) const",
|
||||
asMETHODPR(CreatureLib::Battling::Battle, AddVolatileScript, (const std::string&), void), asCALL_THISCALL);
|
||||
assert(r >= 0);
|
||||
}
|
||||
|
|
|
@ -176,7 +176,7 @@ void RegisterPokemonClass::RegisterPokemonType(asIScriptEngine* engine) {
|
|||
asMETHOD(PkmnLib::Battling::Pokemon, GetStatBoost), asCALL_THISCALL);
|
||||
assert(r >= 0);
|
||||
r = engine->RegisterObjectMethod(
|
||||
"Pokemon", "void AddVolatile(const string &in name) const property",
|
||||
"Pokemon", "void AddVolatile(const string &in name) const",
|
||||
asMETHODPR(PkmnLib::Battling::Pokemon, AddVolatileScript, (const std::string&), void), asCALL_THISCALL);
|
||||
assert(r >= 0);
|
||||
}
|
Loading…
Reference in New Issue