mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-08 15:00:42 +02:00
TPT: Fix TNT not exploding if multiple TNT particles are in the same place de6203e049
This commit is contained in:
@@ -77,6 +77,7 @@ int Element_BANG::update(UPDATE_FUNC_ARGS)
|
|||||||
{
|
{
|
||||||
int tempvalue = 2;
|
int tempvalue = 2;
|
||||||
sim->flood_prop(x, y, offsetof(Particle, tmp), &tempvalue, StructProperty::Integer);
|
sim->flood_prop(x, y, offsetof(Particle, tmp), &tempvalue, StructProperty::Integer);
|
||||||
|
parts[i].tmp = 2;
|
||||||
}
|
}
|
||||||
else if(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