mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 03:09:53 +02:00
Correct proportions of CO2 and WATR when GEL/SPNG is absorbing BUBW
This commit is contained in:
@@ -51,9 +51,6 @@ int update_GEL(UPDATE_FUNC_ARGS) {
|
||||
if (((r&0xFF)==PT_CBNW) && parts[i].tmp<100)
|
||||
{
|
||||
parts[i].tmp++;
|
||||
if (rand()%4)
|
||||
kill_part(r>>8);
|
||||
else
|
||||
part_change_type(r>>8, x+rx, y+ry, PT_CO2);
|
||||
}
|
||||
|
||||
|
@@ -42,9 +42,6 @@ int update_SPNG(UPDATE_FUNC_ARGS) {
|
||||
if ((r&0xFF)==PT_CBNW&&33>=rand()/(RAND_MAX/100)+1)
|
||||
{
|
||||
parts[i].life++;
|
||||
if (rand()%4)
|
||||
kill_part(r>>8);
|
||||
else
|
||||
part_change_type(r>>8, x+rx, y+ry, PT_CO2);
|
||||
}
|
||||
if ((r&0xFF)==PT_PSTE&&33>=rand()/(RAND_MAX/100)+1)
|
||||
|
Reference in New Issue
Block a user