Remove p_mode, use MOB_FLY and MOB_SAIL instead
This commit is contained in:
parent
8f008bf849
commit
182d62deed
8 changed files with 19 additions and 24 deletions
|
@ -29,7 +29,7 @@
|
|||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
* Steve McClure, 2000
|
||||
* Markus Armbruster, 2004-2009
|
||||
* Markus Armbruster, 2004-2011
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
@ -65,7 +65,7 @@ fly(void)
|
|||
return RET_SYN;
|
||||
ax = ap_sect.sct_x;
|
||||
ay = ap_sect.sct_y;
|
||||
if (!getpath(flightpath, player->argp[4], ax, ay, 0, 0, P_FLYING)
|
||||
if (!getpath(flightpath, player->argp[4], ax, ay, 0, 0, MOB_FLY)
|
||||
|| *flightpath == 0)
|
||||
return RET_SYN;
|
||||
tx = ax;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue