illness problem again deleted some debug messages

origin
stpohle 22 years ago
parent c2e967195c
commit 45b4840686

@ -1,4 +1,4 @@
/* $Id: player.c,v 1.60 2004/01/04 21:58:49 stpohle Exp $
/* $Id: player.c,v 1.61 2004/01/04 22:15:41 stpohle Exp $
* player.c - everything what have to do with the player */
#include <SDL.h>
@ -689,7 +689,6 @@ player_set_ilness (_player * p, int t)
else
type = t;
type = PI_nobomb;
d_printf ("Ilness Player %s : Type:%d\n", p->name, type);
switch (type) {
case PI_slow:
@ -718,13 +717,13 @@ player_set_ilness (_player * p, int t)
case PI_range:
if (p->ill[type].to == 0)
p->ill[type].datai = p->range;
printf ("player_set_ilness PI_range %d\n", p->ill[type].datai);
d_printf ("player_set_ilness PI_range %d\n", p->ill[type].datai);
p->range = 1;
break;
case PI_nobomb:
if (p->ill[type].to == 0)
p->ill[type].datai = p->bombs_n;
printf ("player_set_ilness PI_nobomb %d\n", p->ill[type].datai);
d_printf ("player_set_ilness PI_nobomb %d\n", p->ill[type].datai);
p->bombs_n = s_random (2);
break;
}
@ -748,11 +747,11 @@ player_clear_ilness (_player * p, int type)
p->speed = p->ill[type].dataf;
break;
case PI_range:
printf ("player_clear_ilness PI_range to %d\n", p->ill[type].datai);
d_printf ("player_clear_ilness PI_range to %d\n", p->ill[type].datai);
p->range = p->ill[type].datai;
break;
case PI_nobomb:
printf ("player_clear_ilness PI_nobomb to %d\n", p->ill[type].datai);
d_printf ("player_clear_ilness PI_nobomb to %d\n", p->ill[type].datai);
p->bombs_n = p->ill[type].datai;
break;
}

Loading…
Cancel
Save