dhewm/dhewm3 — pull request #8 by DanielGibson (2012-06-22 13:45:31+00:00)
Title: Fix PVS calculations on 64bit systems (stuck monsters)

Monsters got stuck in same places of d3xp because PVS calculations
returned that they were not in the players PVS.
This only happened on LP64 systems like Unix/Linux amd64 where
sizeof(long) == 8 - it did not happen on Win64 because it's LLP64, i.e.
sizeof(long) == 4 (like on x86 32bit).

Bit fiddling code in Pvs.cpp seemed to assume that sizeof(long) == 4
like on win32.

See: https://github.com/dhewm/dhewm3/issues/7