mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-11 19:04:05 +02:00
fixed acid
This commit is contained in:
4
powder.c
4
powder.c
@@ -1025,7 +1025,7 @@ inline int create_part(int p, int x, int y, int t)
|
|||||||
{
|
{
|
||||||
parts[i].pavg[1] = pv[y/CELL][x/CELL];
|
parts[i].pavg[1] = pv[y/CELL][x/CELL];
|
||||||
}
|
}
|
||||||
else if(t!=PT_STKM)
|
if(t!=PT_STKM)
|
||||||
{
|
{
|
||||||
parts[i].x = (float)x;
|
parts[i].x = (float)x;
|
||||||
parts[i].y = (float)y;
|
parts[i].y = (float)y;
|
||||||
@@ -1036,7 +1036,7 @@ inline int create_part(int p, int x, int y, int t)
|
|||||||
parts[i].ctype = 0;
|
parts[i].ctype = 0;
|
||||||
parts[i].temp = ptypes[t].heat;
|
parts[i].temp = ptypes[t].heat;
|
||||||
}
|
}
|
||||||
else if(t==PT_ACID)
|
if(t==PT_ACID)
|
||||||
{
|
{
|
||||||
parts[i].life = 75;
|
parts[i].life = 75;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user