ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/maps/perl/transports.ext
(Generate patch)

Comparing deliantra/maps/perl/transports.ext (file contents):
Revision 1.1 by root, Tue Aug 29 17:31:10 2006 UTC vs.
Revision 1.2 by root, Thu Aug 31 03:35:12 2006 UTC

45 } 45 }
46 } 46 }
47 47
48 if ($tr->move ($dir, $ob)) { 48 if ($tr->move ($dir, $ob)) {
49 # do multiple loops in case some player/item blocks another 49 # do multiple loops in case some player/item blocks another
50 while (@ontop) { 50 # do not endlessly loop as the server is far too broken, e.g.
51 # you cna drop floor son top of non-floors etc.
52 for (1..50) {
53 @ontop or last;
51 @ontop = map $_->move ($dir, $_) ? () : $_, @ontop; 54 @ontop = map $_->move ($dir, $_) ? () : $_, @ontop;
52 } 55 }
53 } 56 }
54 57
55 cf::override; 58 cf::override;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines