TPT: Fix TNT not exploding if multiple TNT particles are in the same place de6203e049
This commit is contained in:
parent
e3634e3b5f
commit
6ae650d04c
@ -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() {}
|
||||
|
Reference in New Issue
Block a user