From 33665b8d92a7a2b0db3a44d97179c195cbb03e89 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 28 May 2022 18:00:45 +0000 Subject: [PATCH] Use the correct function for plugins. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6257 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/com_phys_ode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/common/com_phys_ode.c b/engine/common/com_phys_ode.c index b42ea61e..a599f565 100644 --- a/engine/common/com_phys_ode.c +++ b/engine/common/com_phys_ode.c @@ -1257,7 +1257,7 @@ static void MyODEErrorHandler (int errnum, const char *msg, va_list ap) char string[1024]; vsnprintf (string,sizeof(string), msg, ap); string[sizeof(string)-1] = 0; - Sys_Error("ODE ERROR %i: %s", errnum, string); + Sys_Errorf("ODE ERROR %i: %s", errnum, string); } static void MyODEMessageHandler (int errnum, const char *msg, va_list ap) { @@ -2277,7 +2277,7 @@ static void World_ODE_Frame_BodyFromEntity(world_t *world, wedict_t *ed) dMassSetCylinderTotal(&mass, massval, axisindex+1, radius, length); break; default: - Sys_Error("World_ODE_BodyFromEntity: unrecognized solid value %i was accepted by filter\n", solid); + Sys_Errorf("World_ODE_BodyFromEntity: unrecognized solid value %i was accepted by filter\n", solid); } Matrix3x4_InvertTo4x4_Simple(ed->rbe.offsetmatrix, ed->rbe.offsetimatrix); ed->rbe.massbuf = BZ_Malloc(sizeof(dMass));