Fixed invalid AngelScript declaration.
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @@ -61,7 +61,7 @@ void RegisterBattleClass::RegisterBattle(asIScriptEngine* engine) { | |||||||
|                                      asMETHOD(CreatureLib::Battling::Battle, GetCurrentTurnQueue), asCALL_THISCALL); |                                      asMETHOD(CreatureLib::Battling::Battle, GetCurrentTurnQueue), asCALL_THISCALL); | ||||||
|     assert(r >= 0); |     assert(r >= 0); | ||||||
|     r = engine->RegisterObjectMethod( |     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); |         asMETHODPR(CreatureLib::Battling::Battle, AddVolatileScript, (const std::string&), void), asCALL_THISCALL); | ||||||
|     assert(r >= 0); |     assert(r >= 0); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -176,7 +176,7 @@ void RegisterPokemonClass::RegisterPokemonType(asIScriptEngine* engine) { | |||||||
|                                      asMETHOD(PkmnLib::Battling::Pokemon, GetStatBoost), asCALL_THISCALL); |                                      asMETHOD(PkmnLib::Battling::Pokemon, GetStatBoost), asCALL_THISCALL); | ||||||
|     assert(r >= 0); |     assert(r >= 0); | ||||||
|     r = engine->RegisterObjectMethod( |     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); |         asMETHODPR(PkmnLib::Battling::Pokemon, AddVolatileScript, (const std::string&), void), asCALL_THISCALL); | ||||||
|     assert(r >= 0); |     assert(r >= 0); | ||||||
| } | } | ||||||
		Reference in New Issue
	
	Block a user