URL:
<http://gna.org/bugs/?12758>
Summary: UtBS: Broken logic with stables prevents victory
from being triggered in The Morning After
Project: Battle for Wesnoth
Submitted by: dfranke
Submitted on: Thursday 12/18/2008 at 08:06
Category: Bug
Severity: 5 - Blocker
Priority: 5 - Normal
Item Group: Campaign
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.5.6+svn
Operating System: Linux
_______________________________________________________
Details:
The logic for counting rescued elves in the first scenario of Under the
Burning Suns is broken. There are five events that are supposed to increment
the $rescued_elves accumulator: two sets of mud monsters, finding Garak,
finding Zhul, and searching the stables. The victory condition checks that
$rescued_elves is equal to 5. The problem is that there are actually two
stables, and both increment the counter, so it is likely that the counter
will end up at 6 and victory will become impossible.
A broken savegame and a patch fixing the bug are attached. The fix also
deals with the pathological case in which Naru (the first unit to be
discovered in a stable) gets killed prior to discovering Nisa in the adjacent
stable.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thursday 12/18/2008 at 08:06 Name:
UtBS-The_Morning_After_Turn_26_(Bug).gz Size: 46kB By: dfranke
<http://gna.org/bugs/download.php?file_id=5106>
-------------------------------------------------------
Date: Thursday 12/18/2008 at 08:06 Name: fixstables.patch Size: 2kB By:
dfranke
<http://gna.org/bugs/download.php?file_id=5107>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?12758>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs