|
From: Crossfire C. r. messages.
<cro...@li...> - 2020-11-19 21:48:01
|
Revision: 21553
http://sourceforge.net/p/crossfire/code/21553
Author: ryo_saeba
Date: 2020-11-19 21:48:00 +0000 (Thu, 19 Nov 2020)
Log Message:
-----------
Fix turning boat not able to move where it should.
Modified Paths:
--------------
server/trunk/server/move.c
Modified: server/trunk/server/move.c
===================================================================
--- server/trunk/server/move.c 2020-11-19 17:26:05 UTC (rev 21552)
+++ server/trunk/server/move.c 2020-11-19 21:48:00 UTC (rev 21553)
@@ -91,7 +91,7 @@
if (get_map_flags(part->map, &m, part->x+freearr_x[dir], part->y+freearr_y[dir], &x, &y)&P_OUT_OF_MAP)
return 0;
- if (!QUERY_FLAG(op, FLAG_WIZPASS) && blocked_link(op, m, x, y))
+ if (!QUERY_FLAG(op, FLAG_WIZPASS) && blocked_link(op->type == TRANSPORT ? part : op, m, x, y))
return 0;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|