Turret eye/barrel position fix

This commit is contained in:
pierow 2023-09-12 13:47:03 -04:00
parent 1c2a421648
commit 415de7fad2

View file

@ -529,7 +529,7 @@ void AvHBaseBuildable::UpdateOnRecycle()
Vector AvHBaseBuildable::EyePosition( ) { Vector AvHBaseBuildable::EyePosition( ) {
if ( this->pev->iuser3 == AVH_USER3_HIVE ) if ( this->pev->iuser3 == AVH_USER3_HIVE || this->pev->iuser3 == AVH_USER3_TURRET || this->pev->iuser3 == AVH_USER3_SIEGETURRET || this->pev->iuser3 == AVH_USER3_OFFENSE_CHAMBER)
return CBaseEntity::EyePosition(); return CBaseEntity::EyePosition();
vec3_t position=AvHSHUGetRealLocation(this->pev->origin, this->pev->mins, this->pev->maxs); vec3_t position=AvHSHUGetRealLocation(this->pev->origin, this->pev->mins, this->pev->maxs);