Fixed crash in credits

This commit is contained in:
MysterD 2021-08-29 14:28:46 -07:00
parent 1e100a52fe
commit 029e1f3a46

View file

@ -762,6 +762,8 @@ void load_object_surfaces(s16** data, s16* vertexData) {
* Transform an object's vertices, reload them, and render the object. * Transform an object's vertices, reload them, and render the object.
*/ */
void load_object_collision_model(void) { void load_object_collision_model(void) {
if (gCurrentObject->collisionData == NULL) { return; }
UNUSED s32 unused; UNUSED s32 unused;
s16 vertexData[600]; s16 vertexData[600];