Fix a bug where entities not in PVS on joining are never lit.
Minor c99 cleanup.