use safe strings

(cleanup)
This commit is contained in:
ac-stef
2015-08-21 15:51:36 +02:00
parent cf2a8018ff
commit 06f59e0559
4 changed files with 8 additions and 12 deletions
+2 -2
View File
@@ -778,9 +778,9 @@ void preload_entmodels()
defformatstring(widn)("modmdlpickup%d", i-3);
if (identexists(widn))
strcat(buf, getalias(widn));
concatstring(buf, getalias(widn));
else
strcat(buf, entmdlnames[i]);
concatstring(buf, entmdlnames[i]);
model *mdl = loadmodel(buf);