Use PLACE_IMAGE instead of the deprecated SET_IMAGE.

This commit is contained in:
Lari Nieminen 2008-04-26 13:26:59 +00:00
parent 2d87c9fb90
commit 3a835c614f
2 changed files with 4 additions and 4 deletions

View file

@ -494,7 +494,7 @@
[/filter_location]
[/filter]
{MODIFY_TERRAIN "Rd" $x1 $y1}
{SET_IMAGE $x1 $y1 ("scenery/village-human-burned2.png")}
{PLACE_IMAGE "scenery/village-human-burned2.png" $x1 $y1 }
{PLAY_SOUND ("torch.ogg")}
[/event]
@ -509,7 +509,7 @@
[/filter_location]
[/filter]
{MODIFY_TERRAIN "Rd" $x1 $y1}
{SET_IMAGE $x1 $y1 ("scenery/castle-ruins.png")}
{PLACE_IMAGE "scenery/castle-ruins.png" $x1 $y1}
{PLAY_SOUND ("pincers.ogg")}
[/event]
@ -524,7 +524,7 @@
[/filter_location]
[/filter]
{MODIFY_TERRAIN "Rd" $x1 $y1}
{SET_IMAGE $x1 $y1 ("scenery/rubble.png")}
{PLACE_IMAGE "scenery/rubble.png" $x1 $y1}
{PLAY_SOUND ("dagger-swish.wav")}
{PLAY_SOUND ("club.ogg")}
[/event]

View file

@ -128,7 +128,7 @@
# auto-plant
{MODIFY_TERRAIN "Re^Gvs" $temp_x $temp_y }
{REMOVE_ITEM $temp_x $temp_y}
{SET_IMAGE $temp_x $temp_y ("items/flower4.png")}
{PLACE_IMAGE "items/flower4.png" $temp_x $temp_y}
{VARIABLE sound yes}
[unstore_unit]