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:
tankefugl 2005-06-23 15:22:27 +00:00
parent 8769b0175c
commit d3850ba1a3

View file

@ -1986,7 +1986,7 @@ const int kEntHierFlagDeletion = 0x02;
{
index = short_data & kPlayerIndexMask;
short_data >>= kNumPlayerIndexBits;
ent.mAngle = short_data & kAngleMask;
ent.mAngle = (short_data & kAngleMask) * 22.5f;
short_data >>= kNumAngleBits;
ent.mSquadNumber = short_data & kSquadMask;
}