mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-23 16:33:00 +02:00
Fire and Plsm create wtrv, not dstw (#979)
This commit is contained in:
@@ -68,7 +68,7 @@ int Element_FIRE_update(UPDATE_FUNC_ARGS)
|
||||
parts[i].life = 0;
|
||||
}
|
||||
else if ((parts[i].tmp&0x3) == 3){
|
||||
sim->part_change_type(i,x,y,PT_DSTW);
|
||||
sim->part_change_type(i,x,y,PT_WTRV);
|
||||
parts[i].life = 0;
|
||||
parts[i].ctype = PT_FIRE;
|
||||
}
|
||||
@@ -78,7 +78,7 @@ int Element_FIRE_update(UPDATE_FUNC_ARGS)
|
||||
if (parts[i].life <=1)
|
||||
{
|
||||
if ((parts[i].tmp&0x3) == 3){
|
||||
sim->part_change_type(i,x,y,PT_DSTW);
|
||||
sim->part_change_type(i,x,y,PT_WTRV);
|
||||
parts[i].life = 0;
|
||||
parts[i].ctype = PT_FIRE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user