X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=skeleton.h;h=79e80171b2acc49935c11ac5ad973122b3bf54e1;hb=b4a83d4fcab39bee5a8cd6e8e6eec06314864e5b;hp=2595cda8c6476254700f6da43eac496dd4ffbd24;hpb=59c926ee69a041fbe9450b302e11072d39abb432;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/skeleton.h b/skeleton.h index 2595cda..79e8017 100644 --- a/skeleton.h +++ b/skeleton.h @@ -61,7 +61,7 @@ VG_STATIC u32 skeleton_bone_id( struct skeleton *skele, const char *name ) } vg_error( "skeleton_bone_id( *, \"%s\" );\n", name ); - vg_fatal_exit_loop( "Bone does not exist\n" ); + vg_fatal_error( "Bone does not exist\n" ); return 0; } @@ -403,7 +403,7 @@ VG_STATIC struct skeleton_anim *skeleton_get_anim( struct skeleton *skele, } vg_error( "skeleton_get_anim( *, \"%s\" )\n", name ); - vg_fatal_exit_loop( "Invalid animation name\n" ); + vg_fatal_error( "Invalid animation name\n" ); return NULL; } @@ -441,7 +441,7 @@ VG_STATIC void skeleton_alloc_from( struct skeleton *skele, VG_STATIC void skeleton_fatal_err(void) { - vg_fatal_exit_loop( "Skeleton setup failed" ); + vg_fatal_error( "Skeleton setup failed" ); } /* Setup an animated skeleton from model. mdl's metadata should stick around */