aboutsummaryrefslogtreecommitdiffstats
path: root/code/botlib/l_script.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/botlib/l_script.c')
-rw-r--r--code/botlib/l_script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/botlib/l_script.c b/code/botlib/l_script.c
index 5e4b128..0dc849f 100644
--- a/code/botlib/l_script.c
+++ b/code/botlib/l_script.c
@@ -1428,6 +1428,6 @@ void PS_SetBaseFolder(char *path)
#ifdef BSPC
sprintf(basefolder, path);
#else
- Com_sprintf(basefolder, sizeof(basefolder), path);
+ Com_sprintf(basefolder, sizeof(basefolder), "%s", path);
#endif
} //end of the function PS_SetBaseFolder