Effect bug fixes.
This commit is contained in:
parent
156a5dac8f
commit
d5d70a017f
|
@ -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);
|
||||
|
|
|
@ -28,8 +28,6 @@ void initDebris(Decoration *d)
|
|||
{
|
||||
initEntity((Entity*)d);
|
||||
|
||||
d = (Decoration*)self;
|
||||
|
||||
d->type = ET_DECORATION;
|
||||
|
||||
d->effectType = rand() % 2;
|
||||
|
|
Loading…
Reference in New Issue