other = world;
}
- self.ok_lastwep = self.weapon;
- self.ok_deathloc = self.origin;
self = spawn();
self.ok_item = TRUE;
self.noalign = TRUE;
SUB_SetFade(self, time + 5, 1);
self = oldself;
+ self.ok_lastwep = self.switchweapon;
+
return FALSE;
}
if(self.deadflag != DEAD_NO || !IS_PLAYER(self) || self.frozen)
return FALSE;
+ if(self.ok_lastwep)
+ {
+ self.switchweapon = self.ok_lastwep;
+ self.ok_lastwep = 0;
+ }
+
ok_IncreaseCharge(self, self.weapon);
if(self.BUTTON_ATCK2)
self.ok_pauseregen_finished = time + 2;
- self.switchweapon = self.ok_lastwep;
- self.ok_lastwep = 0;
-
return FALSE;
}