Server crash if players obtain more than 1 Flag in CTF

Bug #316271 reported by Kyle
2
Affects Status Importance Assigned to Milestone
Armagetron Advanced
Fix Committed
Undecided
Manuel Moos

Bug Description

For any Capture the flag map that players could obtain multiple flags only the last flag picked up by this player would be kept in the game. causing several errors and even crashing of the server when the player with the flags died. Attached is a patch to ensure that a player can only collect 1 flag at a time.

This applies to 0.2.8-armagetronad-sty and any other sty related branches. sty+ct has been corrected.

Revision history for this message
Kyle (racingmasterweb) wrote :
Revision history for this message
Manuel Moos (z-man) wrote :

Thanks. I simplified the patch (the team check seems unnecessary) and applied it to the sty branch.

Changed in armagetronad:
assignee: nobody → z-man
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.