X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world.c;h=22c3c2c63be1017518454612ccbf169adee2829d;hb=00653e446d6b1310fa89d3aace70800f9fef4122;hp=4f8cda2f165221c7e18ff4d70ed9fe0a0d1d6f1b;hpb=43dc3602effdf0af4f22ce78c0e76565c0be03e6;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world.c b/world.c index 4f8cda2..22c3c2c 100644 --- a/world.c +++ b/world.c @@ -27,7 +27,7 @@ static void world_init(void) } static void world_switch_instance( u32 index ){ - assert( localplayer.subsystem == k_player_subsystem_walk ); + localplayer.subsystem = k_player_subsystem_walk; if( index >= vg_list_size(world_static.instances) ){ vg_error( "Instance ID out of range (%u)\n", index );