URL:
<http://gna.org/patch/?3525>
Summary: MP campaign recall/disband related to bug #19924
Project: Battle for Wesnoth
Submitted by: natasiel
Submitted on: Mon 10 Sep 2012 11:36:11 AM GMT
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
recall_list.erase delete dismissed_unit, then recorder.add_disband broadcast
dismissed_unit which is now pointing to the next unit in list. Swapping both
lines sends the right unit id across the network and then delete it, fixing
the OOS.
assert(dismissed_unit != recall_list.end());
recall_list.erase(dismissed_unit);
recorder.add_disband(dismissed_unit->id());
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 10 Sep 2012 11:36:11 AM GMT Name:
menu_events-delete_recall_unit.patch Size: 624B By: natasiel
<http://gna.org/patch/download.php?file_id=16498>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?3525>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs