1
This commit is contained in:
parent
0daaa3ec3f
commit
adb3b4b11d
@ -1299,7 +1299,11 @@ 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 1
|
||||
assert(gas_data_.rad_old - distance <= gas_data_.rad_new + 5);
|
||||
#else
|
||||
assert(gas_data_.pos_new == gas_data_.pos_old);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
if (std::abs(gas_data_.gas_progress - gas_data_.rad_new) <= 0.001f) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user