<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39358 >

When there is a vote while the pregame, and a player leaves or is lost, the 
players are renumbered. But votes are based on player_no, so the vote are 
messed up.

For exemple:
* A (player 0), B (player 1), C (player 2) are connected on the same server
* B ask for cut C.
* A leaves. The players are renumbered: B (player 0), C (player 1). Vote are 
not changed so C voted yes, instead of B.
* B can vote a second time, and cut this poor C user Sad. He can ask a 
second vote too, without canceling the first.

I don't see any easy solution, just some hack... So i prefer don't give you 
bad code lines :)

_________________________________________________________________
Découvrez le Blog heroic Fantaisy d'Eragon! 
http://eragon-heroic-fantasy.spaces.live.com/



_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to