This commit is contained in:
1 file changed
+1
-1
@@ -157,7 +157,7 @@ void RegisterPokemonClass::RegisterPokemonType(asIScriptEngine* engine) {
|
||||
r = engine->RegisterObjectMethod("Pokemon", "bool HasType(uint8 type) const",
|
||||
asMETHOD(PkmnLib::Battling::Pokemon, HasType), asCALL_THISCALL);
|
||||
Ensure(r >= 0);
|
||||
r = engine->RegisterObjectMethod("Pokemon", "bool HasType(const constString& type) const",
|
||||
r = engine->RegisterObjectMethod("Pokemon", "bool HasType(const constString &in type) const",
|
||||
asFUNCTION(HasTypeStringWrapper), asCALL_CDECL_OBJFIRST);
|
||||
Ensure(r >= 0);
|
||||
r = engine->RegisterObjectMethod("Pokemon", "void Damage(uint32 type, DamageSource source)",
|
||||
|
||||
Reference in new issue
Block a user