[modding] Train Refactor (#105)

* train

* Update code_80005FD0.c

* Update code_80005FD0.c
This commit is contained in:
MegaMech
2024-10-05 15:42:55 -06:00
committed by GitHub
parent 75297759ee
commit e5f4fdddda
4 changed files with 49 additions and 74 deletions
+1 -1
View File
@@ -3853,7 +3853,7 @@ void render_object_trains_smoke_particles(s32 cameraId) {
// Render smoke for any number of trains. Don't know enough about these variables yet.
#ifdef AVOID_UB_WIP
for (j = 0; j < NUM_TRAINS; j++) {
for (j = 0; j < gNumTrains; j++) {
if ((gTrainList[j].someFlags != 0) &&
(is_particle_on_screen(&gTrainList[j].locomotive.position, camera, 0x4000U) != 0)) {