remove extraneous FIXMEs

This commit is contained in:
alison wright 2019-09-21 17:31:18 -04:00
parent e6221792a4
commit 4f2ac13652
5 changed files with 4 additions and 13 deletions

View File

@ -147,10 +147,9 @@ void(entity targ, entity inflictor, entity attacker, float damage) ent_damage =
// add to the damage total for clients, which will be sent as a single // add to the damage total for clients, which will be sent as a single
// message at the end of the frame // message at the end of the frame
// FIXME: remove after combining shotgun blasts?
if(targ.flags & FL_CLIENT) { if(targ.flags & FL_CLIENT) {
targ.dmg_take = targ.dmg_take + take; targ.dmg_take += take;
targ.dmg_save = targ.dmg_save + save; targ.dmg_save += save;
targ.dmg_inflictor = inflictor; targ.dmg_inflictor = inflictor;
} }

View File

@ -187,18 +187,13 @@ void() ogre_fire_grenade = {
/* /*
================ ================
chainsaw chainsaw
FIXME
================ ================
*/ */
void(float side) chainsaw = { void(float side) chainsaw = {
vector delta; vector delta;
float ldmg; float ldmg;
if(!self.enemy) { if(!self.enemy || !ent_can_damage(self.enemy, self)) {
return;
}
if(!ent_can_damage(self.enemy, self)) {
return; return;
} }

View File

@ -399,8 +399,6 @@ has been twice in two seconds, otherwise it goes into one of the four
fast pain frames. fast pain frames.
A hit of less than 10 points of damage(winged by a shotgun) will be ignored. A hit of less than 10 points of damage(winged by a shotgun) will be ignored.
FIXME: don't use pain_finished because of nightmare hack
================= =================
*/ */
void(entity attacker, float take) zombie_pain = { void(entity attacker, float take) zombie_pain = {

View File

@ -197,7 +197,6 @@ void() door_touch = {
return; return;
} }
// FIXME: blink key on player's status bar
if((self.items & other.items) != self.items) { if((self.items & other.items) != self.items) {
switch(self.owner.items) { switch(self.owner.items) {
case IT_KEY1: print_center(other, "You need the ", key_1_name()); break; case IT_KEY1: print_center(other, "You need the ", key_1_name()); break;

View File

@ -754,7 +754,7 @@ void() key_touch = {
sound(other, CHAN_ITEM, self.noise, 1, ATTN_NORM); sound(other, CHAN_ITEM, self.noise, 1, ATTN_NORM);
cmd_client(other, "bf\n"); cmd_client(other, "bf\n");
other.items = other.items | self.items; other.items |= self.items;
if(!coop) { if(!coop) {
self.solid = SOLID_NOT; self.solid = SOLID_NOT;