mirror of
https://github.com/ENSL/NS.git
synced 2024-11-10 07:11:38 +00:00
Turret eye/barrel position fix
This commit is contained in:
parent
1c2a421648
commit
415de7fad2
1 changed files with 1 additions and 1 deletions
|
@ -529,7 +529,7 @@ void AvHBaseBuildable::UpdateOnRecycle()
|
|||
|
||||
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();
|
||||
|
||||
vec3_t position=AvHSHUGetRealLocation(this->pev->origin, this->pev->mins, this->pev->maxs);
|
||||
|
|
Loading…
Reference in a new issue