This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user