[quake3-commits] [ioquake/ioq3] f717a8: Fix lightning gun handling for corpses and single ...

Zack Middleton noreply at github.com
Fri Oct 11 21:58:46 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: f717a8396e87a291a97d1a6ab9ace1eada160433
      https://github.com/ioquake/ioq3/commit/f717a8396e87a291a97d1a6ab9ace1eada160433
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2019-10-11 (Fri, 11 Oct 2019)

  Changed paths:
    M code/cgame/cg_weapons.c

  Log Message:
  -----------
  Fix lightning gun handling for corpses and single player podiums

The lightning trail is fired from the real non-predicted entity for
the local client so it can show the server location. The real client
entity was always used to check if a player entity is firing the
lighting gun. This potentially causes corpses and players on single
player podiums with lightning gun to render the lightning trail if
the real (living) client is firing the lightning gun.

I'm not aware of this causing any issues without modifying the game
logic. Corpses have no weapon and it's not possible to fire during
single player intermission.




More information about the quake3-commits mailing list