summaryrefslogtreecommitdiff
path: root/src/simulation/elements/BANG.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulation/elements/BANG.cpp')
-rw-r--r--src/simulation/elements/BANG.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simulation/elements/BANG.cpp b/src/simulation/elements/BANG.cpp
index d2441ca..2dc660a 100644
--- a/src/simulation/elements/BANG.cpp
+++ b/src/simulation/elements/BANG.cpp
@@ -106,8 +106,8 @@ int Element_BANG::update(UPDATE_FUNC_ARGS)
{
if(!(rand()%15))
{
- sim->create_part(i, x, y, PT_BOMB);
- parts[i].tmp = 1;
+ sim->create_part(i, x, y, PT_EMBR);
+ parts[i].tmp = 0;
parts[i].life = 50;
parts[i].temp = restrict_flt((MAX_TEMP/3)+otemp, MIN_TEMP, MAX_TEMP);
parts[i].vx = rand()%20-10;