Local game with no players crash

Bug #349208 reported by dlh
2
Affects Status Importance Assigned to Milestone
Armagetron Advanced
Fix Committed
High
Unassigned
0.2.8
Fix Committed
High
Unassigned

Bug Description

Found by Durka.

If you go to a local game, and there are no players, the client will crash.

We could do the same thing as we do on the server: just sit there and not start the game until a player enters it, outputting $gamestate_wait_players while we wait.

Or we could turn off spectator mode when this occurs in a Local game.

This bug might affect hybrid games. I did not check.

Related branches

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

Or just throw in an AI player. Actually, that's what is supposed to happen. (SP_)MIN_TEAMS can't be set to anything less than 1 over the menu.

And of course the actual crash needs fixing :) Is it in eCamera.cpp for you, too, right?

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

I mean, eDisplay.cpp.

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

The crash, at least the one I was seeing, should be fixed now. No further action seems required on 0.2.8. The menus fully work and the user can decide for himself whether he wants to enter the game or add AIs.

dlh (dlh)
Changed in armagetronad:
importance: Undecided → High
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.