From e1accce7ee5224accaa5534a93eec3f9f020d5df Mon Sep 17 00:00:00 2001 From: stpohle Date: Sat, 7 Jun 2003 22:07:59 +0000 Subject: [PATCH] finaly the bad bad crash bug found.. --- src/packets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packets.c b/src/packets.c index 11b3119..b1f3c5a 100644 --- a/src/packets.c +++ b/src/packets.c @@ -615,7 +615,7 @@ do_bombdata (struct pkg_bombdata *b_dat, _net_addr * addr) if (bomb->state != BS_ticking) bomb->to = b_dat->to; else - bman.bfield[bomb->pos.x][bomb->pos.y] = 1; // keep the bfield up to date + bman.bfield[bomb->pos.x >> 8][bomb->pos.y >> 8] = 1; // keep the bfield up to date bomb->r = b_dat->r; bomb->ex_nr = b_dat->ex_nr; bomb->state = b_dat->state;