1
This commit is contained in:
parent
b123ac4e84
commit
27868ede37
@ -1045,9 +1045,7 @@ void Room::UpdateGasMoving()
|
|||||||
gas_data.pos_old = gas_data.pos_old_bk + dir * distance;
|
gas_data.pos_old = gas_data.pos_old_bk + dir * distance;
|
||||||
}
|
}
|
||||||
if (gas_data.rad_old - distance <= gas_data.rad_new) {
|
if (gas_data.rad_old - distance <= gas_data.rad_new) {
|
||||||
#if 0
|
|
||||||
assert(gas_data.pos_new == gas_data.pos_old);
|
assert(gas_data.pos_new == gas_data.pos_old);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (std::abs(gas_data.gas_progress - gas_data.rad_new) <= 0.001f) {
|
if (std::abs(gas_data.gas_progress - gas_data.rad_new) <= 0.001f) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user