game crash, if host is spectator and there is no player 1

Bug #530836 reported by Nasenbaer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Critical
Nasenbaer
Build15
Fix Released
Critical
Nasenbaer

Bug Description

I just work on defaultAI improvements/fixes, thus I just start games with computer players and stay as spectator.
now, if the host is spectator and slot for player 1 is closed, Widelands throws an exception with:

Spieldaten-Fehler
interaktiver Spieler: Spieler 1 existiert in diesem Spiel nicht

rough translation:

game data error:
interactive player: player 1 does not exist in this game.

Nasenbaer (nasenbaer)
Changed in widelands:
status: New → Confirmed
SirVer (sirver)
Changed in widelands:
milestone: none → build15-rc1
importance: Undecided → Critical
Revision history for this message
Nasenbaer (nasenbaer) wrote :

Fixed in bzr build-15 rev 5002 & trunk rev 5006

Changed in widelands:
assignee: nobody → Nasenbaer (nasenbaer)
status: Confirmed → Fix Released
status: Fix Released → Fix Committed
Nasenbaer (nasenbaer)
Changed in widelands:
status: Fix Committed → Fix Released
SirVer (sirver)
Changed in widelands:
status: Fix Released → Fix Committed
Revision history for this message
SirVer (sirver) wrote :

Releasd in build15-rc1

Changed in widelands:
status: Fix Committed → Fix Released
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.