mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-30 00:20:59 +00:00
Fix lightning gun weapon number zeroed when sending weapon info to EV_MISSILE_MISS event
This commit is contained in:
parent
cc18246f22
commit
244ca55a3b
1 changed files with 1 additions and 0 deletions
|
@ -672,6 +672,7 @@ void Weapon_LightningFire( gentity_t *ent ) {
|
|||
} else if ( !( tr.surfaceFlags & SURF_NOIMPACT ) ) {
|
||||
tent = G_TempEntity( tr.endpos, EV_MISSILE_MISS );
|
||||
tent->s.eventParm = DirToByte( tr.plane.normal );
|
||||
tent->s.weapon = ent->s.weapon;
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue