[quake3-commits] [ioquake/ioq3] 51e9aa: Fix hit accuracy stats for lightning gun and shotg...

Zack Middleton zack at cloemail.com
Fri Sep 29 19:59:31 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: 51e9aa2df037e3df72bc5f3b663010b8f4986b14
      https://github.com/ioquake/ioq3/commit/51e9aa2df037e3df72bc5f3b663010b8f4986b14
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-09-29 (Fri, 29 Sep 2017)

  Changed paths:
    M code/game/g_weapon.c

  Log Message:
  -----------
  Fix hit accuracy stats for lightning gun and shotgun kills

If a lightning bolt killed a player or the first shotgun pellet that
hit a player killed them, the shot was not counted as accurate.

Check if shot player is alive for hit accuracy before dealing damage.




More information about the quake3-commits mailing list