From 75294401c43d303bf3650c7b0838f264677195b2 Mon Sep 17 00:00:00 2001 From: terminx Date: Mon, 29 Apr 2013 15:13:48 +0000 Subject: [PATCH] My love/hate relationship with git stash is quickly becoming a hate/hate relationship. :p git-svn-id: https://svn.eduke32.com/eduke32@3714 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/engine.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/build/src/engine.c b/polymer/eduke32/build/src/engine.c index 35a206aed..e8b1925eb 100644 --- a/polymer/eduke32/build/src/engine.c +++ b/polymer/eduke32/build/src/engine.c @@ -9917,10 +9917,16 @@ int32_t loadboard(char *filename, char flags, vec3_t *dapos, int16_t *daang, int p = Bstrrchr(fn, '.'); if (!p) - { Bstrcat(fn, ".cfg"); - OSD_Exec(fn); + else + { + p[1]='c'; + p[2]='f'; + p[3]='g'; + p[4]=0; } + + OSD_Exec(fn); } return finish_loadboard(dapos, dacursectnum, numsprites, myflags);