refactor: unglob std::type_info

This commit is contained in:
Tropical
2026-03-06 12:14:56 -06:00
parent 0855e6ddf4
commit 2ed4b1fe9e
23 changed files with 36 additions and 36 deletions

View File

@@ -19,7 +19,7 @@ bool NearestAttackableTargetGoal::DistComp::operator() (std::shared_ptr<Entity>
return true;
}
NearestAttackableTargetGoal::NearestAttackableTargetGoal(Mob *mob, const type_info& targetType, float within, int randomInterval, bool mustSee, bool mustReach /*= false*/) : TargetGoal(mob, within, mustSee, mustReach), targetType(targetType)
NearestAttackableTargetGoal::NearestAttackableTargetGoal(Mob *mob, const std::type_info& targetType, float within, int randomInterval, bool mustSee, bool mustReach /*= false*/) : TargetGoal(mob, within, mustSee, mustReach), targetType(targetType)
{
//this->targetType = targetType;
this->within = within;