Author: shadowmaster
Date: Tue Nov 24 19:33:30 2009
New Revision: 39938
URL: http://svn.gna.org/viewcvs/wesnoth?rev=39938&view=rev
Log:
Fix wrong usage of [hide_unit]; it only accepts a x,y pair, and not a
SUF.
Modified:
trunk/data/campaigns/tutorial/scenarios/1_Tutorial.cfg
Modified: trunk/data/campaigns/tutorial/scenarios/1_Tutorial.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/tutorial/scenarios/1_Tutorial.cfg?rev=39938&r1=39937&r2=39938&view=diff
==============================================================================
--- trunk/data/campaigns/tutorial/scenarios/1_Tutorial.cfg (original)
+++ trunk/data/campaigns/tutorial/scenarios/1_Tutorial.cfg Tue Nov 24 19:33:30
2009
@@ -114,6 +114,19 @@
[event]
name=prestart
+ [store_locations]
+ variable=student_loc
+ [filter]
+ id=student
+ [/filter]
+ [/store_locations]
+
+ [hide_unit]
+ x=$student_loc.x
+ y=$student_loc.y
+ [/hide_unit]
+
+ {CLEAR_VARIABLE student_loc}
[unit]
id=Delfador
@@ -143,9 +156,6 @@
[/objective]
[/objectives]
- [hide_unit]
- id=student
- [/hide_unit]
{VARIABLE student_hp 32}
[/event]
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits