applied patch #2651: Use MODIFY_TERRAIN macro in Liberty by alarantalara

This commit is contained in:
Gunter Labes 2011-04-30 15:25:23 +00:00
parent 952dbb3f35
commit d33cc6bb63
2 changed files with 4 additions and 12 deletions

View file

@ -368,7 +368,7 @@
#endif
#undef MK_GUARD
{CHG_TERRAIN Gg (5) (3)}
{MODIFY_TERRAIN Gg (5) (3)}
#If the shadow gang is supposed to come help, then leave things
# otherwise kill the shadow lord and erase his castle
@ -399,7 +399,7 @@
[kill]
side=5
[/kill]
{CHG_TERRAIN Gs^Fds (25-28) (37-40)}
{MODIFY_TERRAIN Gs^Fds (25-28) (37-40)}
[/else]
[/if]
[/event]
@ -572,8 +572,8 @@
message= _ "Knights of Elensefar, behold: the battle has already begun! Make camp here. Then, we charge!"
[/message]
{CHG_TERRAIN Ce (4-6,4) (2-2,3)}
{CHG_TERRAIN Ke (5) (3)}
{MODIFY_TERRAIN Ce (4-6,4) (2-2,3)}
{MODIFY_TERRAIN Ke (5) (3)}
[set_recruit]
side=6

View file

@ -40,14 +40,6 @@
{CLEAR_VARIABLE chgtype_store}
#enddef
#define CHG_TERRAIN TERRAIN X_SPAN Y_SPAN
[terrain]
terrain={TERRAIN}
x={X_SPAN}
y={Y_SPAN}
[/terrain]
#enddef
#define OBJ_HOLY_ANKH X Y ID
[event]
name=moveto