… | |
… | |
23 | } |
23 | } |
24 | |
24 | |
25 | my $map; |
25 | my $map; |
26 | |
26 | |
27 | if ($map = cf::map::find $mine->[0] |
27 | if ($map = cf::map::find $mine->[0] |
|
|
28 | and $map =~ /^\// # short-gap fix |
28 | and !grep $_->flag (cf::FLAG_UNIQUE) && $_->flag (cf::FLAG_IS_FLOOR), |
29 | and !grep +($_->flag (cf::FLAG_UNIQUE) || $_->type == cf::SHOP_FLOOR) && $_->flag (cf::FLAG_IS_FLOOR), |
29 | $map->at ($mine->[1], $mine->[2])) { |
30 | $map->at ($mine->[1], $mine->[2])) { |
30 | $who->ob->goto (@$mine); |
31 | $who->ob->goto (@$mine); |
31 | } else { |
32 | } else { |
32 | delete $follow{$name}; |
33 | delete $follow{$name}; |
33 | $who->ob->message ("You can't follow $target anymore!"); |
34 | $who->ob->message ("You can't follow $target anymore!"); |