mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-03-27 17:43:05 +01:00
use part_change_type in legacy fire update, closes #418
This commit is contained in:
parent
0f40db4ef9
commit
8830120479
@ -198,7 +198,7 @@ int Element_FIRE::updateLegacy(UPDATE_FUNC_ARGS) {
|
||||
}
|
||||
if (rt==PT_ICEI || rt==PT_SNOW)
|
||||
{
|
||||
parts[r>>8].type = PT_WATR;
|
||||
sim->part_change_type(r>>8, x+rx, y+ry, PT_WATR);
|
||||
if (t==PT_FIRE)
|
||||
{
|
||||
sim->kill_part(i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user