Author: cycholka
Date: Tue Jun 17 22:51:33 2008
New Revision: 27269
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27269&view=rev
Log:
Fix bug mentioned in http://www.wesnoth.org/forum/viewtopic.php?f=8&t=21803
and remove a hack while doing it.
Modified:
trunk/data/campaigns/Heir_To_The_Throne/scenarios/04_The_Bay_of_Pearls.cfg
Modified:
trunk/data/campaigns/Heir_To_The_Throne/scenarios/04_The_Bay_of_Pearls.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Heir_To_The_Throne/scenarios/04_The_Bay_of_Pearls.cfg?rev=27269&r1=27268&r2=27269&view=diff
==============================================================================
--- trunk/data/campaigns/Heir_To_The_Throne/scenarios/04_The_Bay_of_Pearls.cfg
(original)
+++ trunk/data/campaigns/Heir_To_The_Throne/scenarios/04_The_Bay_of_Pearls.cfg
Tue Jun 17 22:51:33 2008
@@ -252,26 +252,30 @@
id=Bugg
[/have_unit]
[then]
- #override kills being processed after
- #units being created if they're in the same event
- [command]
- [kill]
- id=Bugg
- [/kill]
-
- {LOYAL_UNIT 2 (Sea Orc) 16 18 (Bugg) ( _ "Bugg")}
-
- [message]
- speaker=Bugg
- message= _ "Ha ha ha! Now orcs will rule over land and
sea!"
- [/message]
-
- [message]
- speaker=Dwaba-Kukai
- image=portraits/James_Woo/orc-warlord2.png
- message= _ "(Sigh) Will someone kill this idiot for
me, please?"
- [/message]
- [/command]
+
+ [store_unit]
+ variable=bugg_flip
+ [filter]
+ id=Bugg
+ [/filter]
+ kill=yes
+ [/store_unit]
+
+ {LOYAL_UNIT 2 (Sea Orc) $bugg_flip.x $bugg_flip.y (Bugg) ( _
"Bugg")}
+
+ {CLEAR_VARIABLE bugg_flip}
+
+ [message]
+ speaker=Bugg
+ message= _ "Ha ha ha! Now orcs will rule over land and
sea!"
+ [/message]
+
+ [message]
+ speaker=Dwaba-Kukai
+ image=portraits/James_Woo/orc-warlord2.png
+ message= _ "(Sigh) Will someone kill this idiot for me,
please?"
+ [/message]
+
[/then]
[/if]
[/event]
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits