mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-01 20:12:50 +02:00
fix heat release during explosion
This commit is contained in:
@@ -144,8 +144,8 @@ int Element_VIBR::update(UPDATE_FUNC_ARGS) {
|
|||||||
r = pmap[y+ry][x+rx];
|
r = pmap[y+ry][x+rx];
|
||||||
if ((r&0xFF) && (r&0xFF) != parts[i].type)
|
if ((r&0xFF) && (r&0xFF) != parts[i].type)
|
||||||
{
|
{
|
||||||
parts[r>>8].temp += parts[i].tmp*6;
|
parts[r>>8].temp += parts[i].tmp*3;
|
||||||
parts[i].tmp -= parts[i].tmp*2;
|
parts[i].tmp = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user