NSSurfacePropEntity: Ignore view_ofs in GetEyePos() when we're a spectator.
This commit is contained in:
parent
b37afb1362
commit
f96b41bc2e
1 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,9 @@ NSSurfacePropEntity::NSSurfacePropEntity(void)
|
|||
vector
|
||||
NSSurfacePropEntity::GetEyePos(void)
|
||||
{
|
||||
if (HasFlags(FL_FAKESPEC))
|
||||
return origin;
|
||||
|
||||
return origin + view_ofs;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue