Bug fixes found by viewing differences from ioquake3. There is some unrelated whitespace and 0 to NULL changes.
bg_misc.c -- ioq3 and my bugfix
g_cmds.c -- ioq3 bugfix
g_combat.c -- ioq3 and my bugfix
g_main.c -- q3, ioq3, and my bugfix
g_mover.c -- ioq3 bugfix
g_svcmds.c -- q3 bugfix
g_team.c -- ioq3 bugfix