sprintf audit.

This commit is contained in:
Bill Currie 2000-12-05 16:51:01 +00:00
parent b34504057c
commit 29970187d7
7 changed files with 8 additions and 7 deletions

View file

@ -699,7 +699,7 @@ void Mod_LoadLeafs (lump_t *l)
loadmodel->leafs = out;
loadmodel->numleafs = count;
//sprintf(s, "maps/%s.bsp", Info_ValueForKey(cl.serverinfo,"map"));
//snprintf(s, sizeof (s), "maps/%s.bsp", Info_ValueForKey(cl.serverinfo,"map"));
if (!strncmp("maps/", loadmodel->name,5))
isnotmap = false;
for ( i=0 ; i<count ; i++, in++, out++)