Effect bug fixes.

This commit is contained in:
Steve 2018-02-06 07:45:18 +00:00
parent 156a5dac8f
commit d5d70a017f
2 changed files with 1 additions and 3 deletions

View File

@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern int rrnd(int low, int high);
extern void stunBob(void);
extern void addExplosionParticles(int x, int y, int dx, int dy);
extern void addExplosionParticles(float x, float y, float radius, int amount);
extern void playSound(int snd, int ch);
extern Entity **getAllEntsWithin(int x, int y, int w, int h, Entity *ignore);
extern int getDistance(int x1, int y1, int x2, int y2);

View File

@ -28,8 +28,6 @@ void initDebris(Decoration *d)
{
initEntity((Entity*)d);
d = (Decoration*)self;
d->type = ET_DECORATION;
d->effectType = rand() % 2;