From 7655c2ae6c241c4d1df0cf6d295aa11c571ea636 Mon Sep 17 00:00:00 2001 From: stpohle Date: Sat, 24 Jan 2004 23:52:39 +0000 Subject: [PATCH] do_bombdata fixed, another three stones will be drawen to make sure no old bombgraphics will be left on the screen --- ChangeLog | 8 +++++++- src/packets.c | 3 +++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7dd6872..768791b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,4 @@ -$Id: ChangeLog,v 1.53 2004/01/22 20:54:58 stpohle Exp $ +$Id: ChangeLog,v 1.54 2004/01/24 23:52:39 stpohle Exp $ - Added: Kick Bombs special @@ -15,6 +15,12 @@ $Id: ChangeLog,v 1.53 2004/01/22 20:54:58 stpohle Exp $ - Fixed: network.h: NET_CANSEND fixed, didn't checked right for the server +- Fixed: crash if no tileset was selected in the selection + menu. (error was in menu.c:menu_dir_select) + +- Fixed: (Network) three more stones will be restored if a new + bombdata packet reaches the player. + Version 0.11.0 ============== diff --git a/src/packets.c b/src/packets.c index 9b5cd38..8847046 100644 --- a/src/packets.c +++ b/src/packets.c @@ -752,6 +752,9 @@ do_bombdata (struct pkg_bombdata *b_dat, _net_addr * addr) if (bomb->state != BS_off) { // handle push & kick special map.bfield[(int)bomb->pos.x][(int)bomb->pos.y] = 0; //remove bomb at old location stonelist_add (bomb->pos.x, bomb->pos.y); + stonelist_add (bomb->pos.x+1, bomb->pos.y); + stonelist_add (bomb->pos.x, bomb->pos.y+1); + stonelist_add (bomb->pos.x+1, bomb->pos.y+1); } if (bomb->state == BS_off && (b_dat->state == BS_ticking || b_dat->state == BS_trigger))