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

Comparing deliantra/server/ext/transports.ext (file contents):
Revision 1.2 by root, Thu Dec 21 22:41:34 2006 UTC vs.
Revision 1.3 by root, Sat Feb 3 21:41:06 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines