Fix some warnings. Hopefully fix bullet plugin.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5287 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2018-08-04 19:00:19 +00:00
parent aede46c776
commit 98b71860ed
33 changed files with 439 additions and 264 deletions

View file

@ -568,7 +568,7 @@ void Q_ftoa(char *str, float in)
sprintf(str, "%.0f", in);
else
{
char tstr[8];
char tstr[32];
char *lsig = str - 1;
sprintf(tstr, "%%.%if", exp);
sprintf(str, tstr, in);
@ -5040,6 +5040,12 @@ void COM_Version_f (void)
#else
Con_DPrintf(" ^h(disabled: openal)^7");
#endif
#endif
#ifdef USE_INTERNAL_BULLET
Con_Printf(" bullet");
#endif
#ifdef ENGINE_ROUTING
Con_Printf(" routing");
#endif
Con_Printf("\n");
@ -5102,6 +5108,9 @@ void COM_Version_f (void)
#if defined(MENU_DAT)
Con_Printf(" menuqc");
#endif
#if defined(MENU_NATIVECODE)
Con_Printf(" nmenu");
#endif
#if defined(CSQC_DAT)
Con_Printf(" csqc");
#endif