This commit is contained in:
aozhiwei 2019-09-23 17:00:35 +08:00
parent b123ac4e84
commit 27868ede37

View File

@ -1045,9 +1045,7 @@ void Room::UpdateGasMoving()
gas_data.pos_old = gas_data.pos_old_bk + dir * distance;
}
if (gas_data.rad_old - distance <= gas_data.rad_new) {
#if 0
assert(gas_data.pos_new == gas_data.pos_old);
#endif
}
}
if (std::abs(gas_data.gas_progress - gas_data.rad_new) <= 0.001f) {