self.grabber_state &~= GRABBER_WAITING_FOR_RELEASE;\r
\r
self.grabber_state &~= GRABBER_RELEASING;\r
- if(self.BUTTON_CROUCH)\r
- {\r
- self.grabber_state &~= GRABBER_PULLING;\r
- //self.grabber_state |= GRABBER_RELEASING;\r
- }\r
- else\r
- {\r
- self.grabber_state |= GRABBER_PULLING;\r
- //self.grabber_state &~= GRABBER_RELEASING;\r
- }\r
+ self.grabber_state |= GRABBER_PULLING;\r
}\r
\r
if(self.weapon != WEP_GRABBER)\r
self.grabber_time_fueldecrease = time + cvar("g_balance_grabber_primary_grabbered_time_free");\r
}\r
\r
- if (self.BUTTON_CROUCH)\r
+ self.grabber_state |= GRABBER_PULLING;\r
+ self.grabber_state &~= GRABBER_RELEASING;\r
+\r
+ if (self.BUTTON_ATCK)\r
{\r
- self.grabber_state &~= GRABBER_PULLING;\r
- if (self.BUTTON_ATCK)\r
- self.grabber_state &~= GRABBER_RELEASING;\r
- else\r
- self.grabber_state |= GRABBER_RELEASING;\r
+ // already fired\r
+ if(self.grabber)\r
+ self.grabber_state |= GRABBER_WAITING_FOR_RELEASE;\r
}\r
else\r
{\r
- self.grabber_state |= GRABBER_PULLING;\r
- self.grabber_state &~= GRABBER_RELEASING;\r
-\r
- if (self.BUTTON_ATCK)\r
- {\r
- // already fired\r
- if(self.grabber)\r
- self.grabber_state |= GRABBER_WAITING_FOR_RELEASE;\r
- }\r
- else\r
- {\r
- self.grabber_state |= GRABBER_REMOVING;\r
- self.grabber_state &~= GRABBER_WAITING_FOR_RELEASE;\r
- }\r
+ self.grabber_state |= GRABBER_REMOVING;\r
+ self.grabber_state &~= GRABBER_WAITING_FOR_RELEASE;\r
}\r
}\r
else if (req == WR_PRECACHE)\r