summaryrefslogtreecommitdiff
path: root/src/heretic
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic')
-rw-r--r--src/heretic/g_game.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heretic/g_game.c b/src/heretic/g_game.c
index da96537a..389c0e1d 100644
--- a/src/heretic/g_game.c
+++ b/src/heretic/g_game.c
@@ -1429,7 +1429,7 @@ static char *savename = NULL;
void G_LoadGame(char *name)
{
- savename = strdup(name);
+ savename = M_StringDuplicate(name);
gameaction = ga_loadgame;
}