TPT: Fix TNT not exploding if multiple TNT particles are in the same place de6203e049

This commit is contained in:
Simon Robertshaw 2012-06-12 18:00:03 +01:00
parent e3634e3b5f
commit 6ae650d04c

View File

@ -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() {}
Element_BANG::~Element_BANG() {}