ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/map-link.ext
(Generate patch)

Comparing deliantra/server/ext/map-link.ext (file contents):
Revision 1.7 by root, Wed May 7 11:02:50 2008 UTC vs.
Revision 1.8 by root, Sat Dec 13 20:34:37 2008 UTC

15 $self->alloc; 15 $self->alloc;
16 $self->in_memory (cf::MAP_ACTIVE); 16 $self->in_memory (cf::MAP_ACTIVE);
17 17
18 # provide some exits "home" 18 # provide some exits "home"
19 my $exit = cf::object::new "exit"; 19 my $exit = cf::object::new "exit";
20 my $guard = Coro::guard { $exit->destroy }; 20 Guard::scope_guard { $exit->destroy };
21 21
22 $exit->slaying ($cf::EMERGENCY_POSITION->[0]); 22 $exit->slaying ($cf::EMERGENCY_POSITION->[0]);
23 $exit->stats->hp ($cf::EMERGENCY_POSITION->[1]); 23 $exit->stats->hp ($cf::EMERGENCY_POSITION->[1]);
24 $exit->stats->sp ($cf::EMERGENCY_POSITION->[2]); 24 $exit->stats->sp ($cf::EMERGENCY_POSITION->[2]);
25 25

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines