Ticket #46404

qt: city_dialog::(next|prev)_city() buggy

Eröffnet am: 2023-01-01 01:07 Letztes Update: 2023-01-08 06:30

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
1

Details

S3_0 Qt-client city_dialog::next_city() and city_dialog::prev_city() may even crash if the player has no cities (presumably one should have no city dialog to click next/prev from when that's the case, but with unlucky timing it's possible)

- City list size is against exactly 1 (meaning that the open city dialog is about the only city), not catching the empty city list case
- The next city is assigned in a meaningless loop, that just overwrites previous round result until it reach the city list size

Ticket-Verlauf (3/5 Historien)

2023-01-01 01:07 Aktualisiert von: cazfi
  • New Ticket "qt: city_dialog::(next|prev)_city() buggy" created
2023-01-01 01:25 Aktualisiert von: cazfi
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Keine to Accepted
2023-01-01 01:25 Aktualisiert von: cazfi
Kommentar

Fix to all branches, including S2_6.

2023-01-08 06:30 Aktualisiert von: cazfi
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Anmelden