Prevent TUGN from breaking when resetting air
This commit is contained in:
parent
1575d93d48
commit
99c560bfd3
@ -734,7 +734,7 @@ void GameController::ResetAir()
|
|||||||
sim->air->Clear();
|
sim->air->Clear();
|
||||||
for (int i = 0; i < NPART; i++)
|
for (int i = 0; i < NPART; i++)
|
||||||
{
|
{
|
||||||
if (sim->parts[i].type == PT_QRTZ || sim->parts[i].type == PT_GLAS)
|
if (sim->parts[i].type == PT_QRTZ || sim->parts[i].type == PT_GLAS || sim->parts[i].type == PT_TUGN)
|
||||||
{
|
{
|
||||||
sim->parts[i].pavg[0] = sim->parts[i].pavg[1] = 0;
|
sim->parts[i].pavg[0] = sim->parts[i].pavg[1] = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user