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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/elements/BANG.cpp b/src/simulation/elements/BANG.cpp
index ac538ca..ea22b05 100644
--- a/src/simulation/elements/BANG.cpp
+++ b/src/simulation/elements/BANG.cpp
@@ -76,7 +76,7 @@ int Element_BANG::update(UPDATE_FUNC_ARGS)
else if(parts[i].tmp==1)
{
int tempvalue = 2;
- sim->flood_prop(x, y, offsetof(Particle, tmp), &tempvalue, 0);
+ sim->flood_prop(x, y, offsetof(Particle, tmp), &tempvalue, StructProperty::Integer);
}
else if(parts[i].tmp==2)
{