do_bombdata fixed, another three stones will be drawen to make sure no old bombgraphics will be left on the screen

origin
stpohle 22 years ago
parent d0d229b5c7
commit 7655c2ae6c

@ -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
==============

@ -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))

Loading…
Cancel
Save