mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-07-31 05:30:23 +02:00
glass now works
This commit is contained in:
8
powder.c
8
powder.c
@@ -1052,11 +1052,11 @@ inline int create_part(int p, int x, int y, int t)
|
|||||||
{
|
{
|
||||||
parts[i].life = 75;
|
parts[i].life = 75;
|
||||||
}
|
}
|
||||||
//Testing
|
/*Testing
|
||||||
/*if(t==PT_WOOD){
|
if(t==PT_WOOD){
|
||||||
parts[i].life = 150;
|
parts[i].life = 150;
|
||||||
}*/
|
}
|
||||||
//End Testing
|
End Testing*/
|
||||||
if(t==PT_FIRE)
|
if(t==PT_FIRE)
|
||||||
parts[i].life = rand()%50+120;
|
parts[i].life = rand()%50+120;
|
||||||
if(t==PT_PLSM)
|
if(t==PT_PLSM)
|
||||||
|
Reference in New Issue
Block a user