diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2024-10-15 13:09:43 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-15 13:09:43 -0600 |
| commit | a0862b6a159373f2e1554e489ecb5bb08d89654e (patch) | |
| tree | b5c33fc7f65b438ee74898dd9ed7ba25b0fa108a /src/racing/render_courses.c | |
| parent | 58d56fcba848e8545052c1d85ef27d0b02841538 (diff) | |
[modding] Implement Vehicles & Fix Animations (#109)
* Train works
* Fix minimap
* Fix highway
* Fix
* Refactor train and boat
* Update
* Implement Trucks
* Fix tanker
* Finish implementing vehicles
* Fix animations
* Fix spawn players
* Fix spawn players
* Fix loading custom data
---------
Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/racing/render_courses.c')
| -rw-r--r-- | src/racing/render_courses.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/racing/render_courses.c b/src/racing/render_courses.c index 3b4fd6f55..07ab94a11 100644 --- a/src/racing/render_courses.c +++ b/src/racing/render_courses.c @@ -50,14 +50,8 @@ s32 func_80290C20(Camera* camera) { return 0; } -void parse_course_displaylists(const char* asset) { - TrackSections* section; - - if (GetCourse() == GetTestCourse()) { - section = (TrackSections*) asset; - } else { - section = (TrackSections*) LOAD_ASSET(asset); - } +void parse_course_displaylists(TrackSectionsI* asset) { + TrackSections* section = (TrackSections*) asset; while (section->addr != 0) { if (section->flags & 0x8000) { |
