Expand away duplicated definitions that are used one time each.

(Found with macroscope.)
This commit is contained in:
Eric S. Raymond 2007-04-06 06:30:44 +00:00
parent ba4650cbe5
commit 2aadbdf112
2 changed files with 12 additions and 20 deletions

View file

@ -289,20 +289,16 @@
{CLEAR_VARIABLE dragon_dead}
[/event]
#define MUDMANIA X Y
[filter]
type=Giant Mudcrawler
[/filter]
{UNIT (Mudcrawler) () ("") 2 ({X}) ({Y})}
{UNIT (Mudcrawler) () ("") 3 ({X}) ({Y})}
#enddef
[event]
name=die
first_time_only=no
{MUDMANIA $x1 $y1}
[filter]
type=Giant Mudcrawler
[/filter]
{UNIT (Mudcrawler) () ("") 2 ($x1) ($y1)}
{UNIT (Mudcrawler) () ("") 3 ($x1) ($y1)}
[/event]
[event]

View file

@ -174,20 +174,16 @@
[/message]
[/event]
#define MUDMANIA X Y
[filter]
type=Giant Mudcrawler
[/filter]
{UNIT (Mudcrawler) () ("") 2 ({X}) ({Y})}
{UNIT (Mudcrawler) () ("") 3 ({X}) ({Y})}
#enddef
[event]
name=die
first_time_only=no
{MUDMANIA $x1 $y1}
[filter]
type=Giant Mudcrawler
[/filter]
{UNIT (Mudcrawler) () ("") 2 ($x1) ($y1)}
{UNIT (Mudcrawler) () ("") 3 ($x1) ($y1)}
[/event]
[event]