defeat during load frame: crash

Bug #1395445 reported by Ikhar Beq
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Return To The Roots
Fix Released
Medium
Ikhar Beq

Bug Description

load game -> while loading first frame a player is defeated (quite rare I suppose...) -> crash in:

GameClientPlayer.cpp L 1494
void GameClientPlayer::TestDefeat()
{
    // Nicht schon besiegt?
    // Keine Militärgebäude, keine Lagerhäuser (HQ,Häfen) -> kein Land --> verloren
    if(!defeated && !military_buildings.size() && !warehouses.size())
    {
        defeated = true;

        // GUI Bescheid sagen
        gwg->GetGameInterface()->GI_PlayerDefeated(playerid); <------------------------------------------------ (not ready for action -> crash)
    }
}

Revision history for this message
Ikhar Beq (parasiteofchar) wrote :
Revision history for this message
Ikhar Beq (parasiteofchar) wrote :
Revision history for this message
Spike (fvv1) wrote :

fixed in rev9499

Changed in s25rttr:
status: New → Fix Released
assignee: nobody → Ikhar Beq (parasiteofchar)
importance: Undecided → Medium
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.