CDarrow / DXX-Retro

A source port of Descent 1 and 2, focused on quality competitive play. Uncompromising commitment to original gameplay (except where the original sucked). Based on the Rebirth project.
Other
50 stars 16 forks source link

Players send their own ship collision damage packets twice #114

Closed roncli closed 5 years ago

roncli commented 5 years ago

When ships collide the player who did the ramming sends their own damage packet for the event twice.

roncli commented 5 years ago

This bug has actually been around a LONG time in the form of double entries in gamelog.txt for ship collision damage. The problem was that "bumps" were recorded twice, once for the player and once for the target, and the check was only checking to see if it was a player being bumped, not if it was the current player. Fixed this by adding a player ID check.