From 45b484068667170f3b4e0471e6f03b2059d1b286 Mon Sep 17 00:00:00 2001 From: stpohle Date: Sun, 4 Jan 2004 22:15:41 +0000 Subject: [PATCH] illness problem again deleted some debug messages --- src/player.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/player.c b/src/player.c index 7b5ad8d..80f8670 100644 --- a/src/player.c +++ b/src/player.c @@ -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 @@ -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; }