Copied a fix that extends the region Mario can explore beyond shorts from @ckosmic's fork.

This commit is contained in:
MeltyPlayer
2022-10-20 00:18:43 -05:00
parent 478d28ed7d
commit c035455ff7
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ SM64_LIB_FN void sm64_static_surfaces_load( const struct SM64Surface *surfaceArr
surfaces_load_static( surfaceArray, numSurfaces );
}
SM64_LIB_FN int32_t sm64_mario_create( int16_t x, int16_t y, int16_t z )
SM64_LIB_FN int32_t sm64_mario_create( float x, float y, float z )
{
int32_t marioIndex = obj_pool_alloc_index( &s_mario_instance_pool, sizeof( struct MarioInstance ));
struct MarioInstance *newInstance = s_mario_instance_pool.objects[marioIndex];