Author: esr
Date: Wed Feb 27 04:44:05 2008
New Revision: 24110
URL: http://svn.gna.org/viewcvs/wesnoth?rev=24110&view=rev
Log:
Eliminate last two uses of UNIT.
Modified:
trunk/data/scenario-test.cfg
trunk/src/game_events.cpp
Modified: trunk/data/scenario-test.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/scenario-test.cfg?rev=24110&r1=24109&r2=24110&view=diff
==============================================================================
--- trunk/data/scenario-test.cfg (original)
+++ trunk/data/scenario-test.cfg Wed Feb 27 04:44:05 2008
@@ -611,7 +611,7 @@
[filter_location]
[/filter_location]
[command]
- {UNIT (Troll) (MagicTroll) ( "Magic Troll") $side_number $x1
$y1}
+ {LOYAL_UNIT $side_number (Troll) $x1 $y1 (MagicTroll) ("Magic
Troll")}
{GIVE_TROLLSKIN}
#undef GIVE_TROLLSKIN
[sound]
Modified: trunk/src/game_events.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_events.cpp?rev=24110&r1=24109&r2=24110&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Wed Feb 27 04:44:05 2008
@@ -2029,7 +2029,7 @@
[filter_location]
[/filter_location]
[command]
- {UNIT (Troll) (Myname) ( _ "Myname")
$side_number $x1 $y1}
+ {LOYAL_UNIT $side_number (Troll) $x1 $y1
(Myname) ( _ "Myname")}
[/command]
[/set_menu_item]
*/
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits