Statistik stehen geblieben nach geöffnetem Savegame

Bug #386804 reported by NastX
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Return To The Roots
Status tracked in S25client
S25client
Fix Released
Medium
OLiver

Bug Description

Die Statistik ist spontan stehengeblieben nach dem Laden eines Savegames.

Revision history for this message
NastX (jtrampe) wrote :
Revision history for this message
NastX (jtrampe) wrote :
Revision history for this message
jh (janhenrikk) wrote :

Das Problem liegt daran dass der StatisticStep nicht aufgerufen wird, wenn der GF in dem die Statistik aufgerufen werden soll gleichzeitig ein NWF ist.
Das Konstrukt in der GameClient.cpp ist in etwa:

if (replaymode)
{
...
Statistik aktualiseren
...
}
else if (nwf frame)
{
... <- Hier fehlt die Statistik!
}
else
{
...
Statistk aktualisieren
...
}

Der Patch fixt das, aber irgendwie ist das enorm unübersichtlich, schwer verständlich und damit fehleranfällig :S

Revision history for this message
jh (janhenrikk) wrote :

Suboptimaler Patch here!

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.