Remove p_mode, use MOB_FLY and MOB_SAIL instead

This commit is contained in:
Markus Armbruster 2011-03-27 08:29:50 +02:00
parent 8f008bf849
commit 182d62deed
8 changed files with 19 additions and 24 deletions

View file

@ -30,7 +30,7 @@
* Dave Pare, 1986
* Ken Stevens, 1995
* Steve McClure, 1998-2000
* Markus Armbruster, 2004-2009
* Markus Armbruster, 2004-2011
*/
#include <config.h>
@ -108,7 +108,7 @@ bomb(void)
return RET_SYN;
ax = ap_sect.sct_x;
ay = ap_sect.sct_y;
if (!getpath(flightpath, player->argp[5], ax, ay, 0, 0, P_FLYING)
if (!getpath(flightpath, player->argp[5], ax, ay, 0, 0, MOB_FLY)
|| *flightpath == 0)
return RET_SYN;
tx = ax;