mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-01 04:01:56 +02:00
Bubbles now don't pop because of gases.
This commit is contained in:
@@ -98,7 +98,8 @@ int update_SOAP(UPDATE_FUNC_ARGS)
|
|||||||
if (parts[i].temp>0)
|
if (parts[i].temp>0)
|
||||||
{
|
{
|
||||||
if (bmap[(y+ry)/CELL][(x+rx)/CELL]
|
if (bmap[(y+ry)/CELL][(x+rx)/CELL]
|
||||||
|| ((r&0xFF) != PT_SOAP && (r&0xFF) != PT_GLAS)
|
|| (r && ptypes[r&0xFF].state != ST_GAS
|
||||||
|
&& (r&0xFF) != PT_SOAP && (r&0xFF) != PT_GLAS)
|
||||||
|| (parts[r>>8].ctype == 0 && (r&0xFF) == PT_SOAP
|
|| (parts[r>>8].ctype == 0 && (r&0xFF) == PT_SOAP
|
||||||
&& (abs(parts[r>>8].vx)<2 || abs(parts[r>>8].vy)<2)))
|
&& (abs(parts[r>>8].vx)<2 || abs(parts[r>>8].vy)<2)))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user