Fixes a bunch of bools missed in #11100

This commit is contained in:
Chompstation Bot
2021-07-16 21:12:20 +00:00
parent 1be5570337
commit d0d23ed393
93 changed files with 3291 additions and 195 deletions

View File

@@ -5,7 +5,7 @@
TARGET.airflow_time = 0; \
TARGET.airflow_skip_speedcheck = FALSE; \
if (TARGET.airflow_od) { \
TARGET.density = 0; \
TARGET.density = FALSE; \
}
// No point in making this a processing substem, it overrides fire() and handles its own processing list!
@@ -54,7 +54,7 @@ SUBSYSTEM_DEF(airflow)
if (target.airflow_speed > 7)
if (target.airflow_time++ >= target.airflow_speed - 7)
if (target.airflow_od)
target.density = 0
target.density = FALSE
target.airflow_skip_speedcheck = TRUE
if (MC_TICK_CHECK)
@@ -62,7 +62,7 @@ SUBSYSTEM_DEF(airflow)
continue
else
if (target.airflow_od)
target.density = 0
target.density = FALSE
target.airflow_process_delay = max(1, 10 - (target.airflow_speed + 3))
target.airflow_skip_speedcheck = TRUE
@@ -73,7 +73,7 @@ SUBSYSTEM_DEF(airflow)
target.airflow_skip_speedcheck = FALSE
if (target.airflow_od)
target.density = 1
target.density = TRUE
if (!target.airflow_dest || target.loc == target.airflow_dest)
target.airflow_dest = locate(min(max(target.x + target.airflow_xo, 1), world.maxx), min(max(target.y + target.airflow_yo, 1), world.maxy), target.z)