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.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simulation/elements/BANG.cpp b/src/simulation/elements/BANG.cpp
index ea22b05..264b4f1 100644
--- a/src/simulation/elements/BANG.cpp
+++ b/src/simulation/elements/BANG.cpp
@@ -77,6 +77,7 @@ int Element_BANG::update(UPDATE_FUNC_ARGS)
{
int tempvalue = 2;
sim->flood_prop(x, y, offsetof(Particle, tmp), &tempvalue, StructProperty::Integer);
+ parts[i].tmp = 2;
}
else if(parts[i].tmp==2)
{
@@ -123,4 +124,4 @@ int Element_BANG::update(UPDATE_FUNC_ARGS)
}
-Element_BANG::~Element_BANG() {} \ No newline at end of file
+Element_BANG::~Element_BANG() {}