PM_Accelerate(wishdir, wishspeed, wishspeed, sv_accelerate*maxspd_mod, 1, 0);\r
}\r
}\r
- else if ((self.items & IT_JETPACK) && self.BUTTON_JETPACK && (!cvar("g_jetpack_fuel") || self.ammo_fuel >= 0.01 || self.items & IT_UNLIMITED_WEAPON_AMMO))\r
+ else if ((self.items & IT_JETPACK) && self.BUTTON_JETPACK && (!cvar("g_jetpack_fuel") || self.ammo_fuel >= 0.01 || self.items & IT_UNLIMITED_WEAPON_AMMO) && self.eater.classname != "player")\r
{\r
//makevectors(self.v_angle_y * '0 1 0');\r
makevectors(self.v_angle);\r
else if (self.flags & FL_ONGROUND)\r
{\r
// we get here if we ran out of ammo\r
- if((self.items & IT_JETPACK) && self.BUTTON_JETPACK && !(buttons_prev & 32))\r
+ if((self.items & IT_JETPACK) && self.BUTTON_JETPACK && !(buttons_prev & 32) && self.eater.classname != "player")\r
sprint(self, "You don't have any fuel for the ^2Jetpack\n");\r
\r
// walking\r
{\r
float wishspeed0;\r
// we get here if we ran out of ammo\r
- if((self.items & IT_JETPACK) && self.BUTTON_JETPACK && !(buttons_prev & 32))\r
+ if((self.items & IT_JETPACK) && self.BUTTON_JETPACK && !(buttons_prev & 32) && self.eater.classname != "player")\r
sprint(self, "You don't have any fuel for the ^2Jetpack\n");\r
\r
if(maxspd_mod < 1)\r
#define BUTTON_ATCK2 button3\r
#define BUTTON_ZOOM button4\r
#define BUTTON_CROUCH button5\r
-#define BUTTON_JETPACK button6\r
+#define BUTTON_JETPACK button6\r
#define BUTTON_INFO button7\r
#define BUTTON_CHAT buttonchat\r
#define BUTTON_USE buttonuse\r