mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-29 07:41:55 +00:00
Mantis 0000733:
o Fixed bug where all players on the map would face easward if outside the viewing player's PVS The angles divided by 22.5 on write were not multiplied back upon read, resulting in really low angles -- almost not visible. git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@209 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
8769b0175c
commit
d3850ba1a3
1 changed files with 1 additions and 1 deletions
|
@ -1986,7 +1986,7 @@ const int kEntHierFlagDeletion = 0x02;
|
||||||
{
|
{
|
||||||
index = short_data & kPlayerIndexMask;
|
index = short_data & kPlayerIndexMask;
|
||||||
short_data >>= kNumPlayerIndexBits;
|
short_data >>= kNumPlayerIndexBits;
|
||||||
ent.mAngle = short_data & kAngleMask;
|
ent.mAngle = (short_data & kAngleMask) * 22.5f;
|
||||||
short_data >>= kNumAngleBits;
|
short_data >>= kNumAngleBits;
|
||||||
ent.mSquadNumber = short_data & kSquadMask;
|
ent.mSquadNumber = short_data & kSquadMask;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue