Moving and Liquid bombs wasn't working after adding the change_directory values.

origin
stpohle 21 years ago
parent f19cef33c9
commit aaec6063d1

@ -1,4 +1,11 @@
$Id: ChangeLog,v 1.93 2004/12/26 17:19:31 stpohle Exp $
$Id: ChangeLog,v 1.94 2004/12/26 23:18:37 stpohle Exp $
Version 0.11.6
==============
2004-12-27
- Fixed: moving and liquid bombs where not working right.
we checked the wrong map.bfield value.
Version 0.11.5
==============

@ -5,7 +5,7 @@ dnl Please disable it in the Anjuta project configuration
AC_INIT(configure.in)
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE(bomberclone, 0.11.5)
AM_INIT_AUTOMAKE(bomberclone, 0.11.6)
AM_CONFIG_HEADER(config.h)

@ -1,4 +1,4 @@
/* $Id: special.c,v 1.36 2004/10/18 18:27:20 stpohle Exp $ */
/* $Id: special.c,v 1.37 2004/12/26 23:18:40 stpohle Exp $ */
/* special.c - procedues to control the specials */
#include "bomberclone.h"
@ -100,6 +100,8 @@ special_liquidmoved (int p_nr)
dx = dir_change[p->d].x;
dy = dir_change[p->d].y;
x += dx;
y += dy;
// check that player is beside a bomb
if (!map.bfield[x][y])

Loading…
Cancel
Save