Not possible to get land around headquarter after destroying it

Bug #537301 reported by Timowi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Critical
Timowi

Bug Description

Reported by EisNerd in irc:

He could not get the land after he destroyed the headquarter. The computerplayer has no more military builings but still influence on the land.

I could reproduce it with the replay.

Tags: military
Revision history for this message
Timowi (timo-wingender) wrote :
Revision history for this message
Timowi (timo-wingender) wrote :
Revision history for this message
Raul Ferriz (raul.ferriz) wrote :

Loading this replay with current trunk version (debug build) I see a HeadQuarters for yelow player just above well, when on screenshot a 0% buildingsite is showed.

Replay instantly autopaused because has lost synchronization.

Revision history for this message
Raul Ferriz (raul.ferriz) wrote :

Forgive autopaused and lost of sync. Was trying a non-standard build.

Revision history for this message
Timowi (timo-wingender) wrote :

It's called "replay leading to this bug" because it's before the headquarter is destroyed. ;) It's likely your changes in the battle code cause the desyncs. I've tested it with bzr-trunk-5020. It runs fine until the end.

I think I know where the problem is. The military influence of the computerplayer is 0 before the headquarter is destroyed. So it is 64636 after destroying it. I will fix the loading code. :)

Changed in widelands:
assignee: nobody → Timowi (timo-wingender)
Revision history for this message
Timowi (timo-wingender) wrote :

Introduced by me in bzr-trunk-5016
and fixed by me in bzr-trunk-5021

Changed in widelands:
status: Confirmed → 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.