fixed GetModName ()
This commit is contained in:
parent
d5a8b3642b
commit
e4b4e92e10
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ const char *Engine::GetModName (void)
|
||||||
{
|
{
|
||||||
// this function returns mod name without path
|
// this function returns mod name without path
|
||||||
|
|
||||||
char engineModName[256];
|
static char engineModName[256];
|
||||||
g_engfuncs.pfnGetGameDir (engineModName); // ask the engine for the MOD directory path
|
g_engfuncs.pfnGetGameDir (engineModName); // ask the engine for the MOD directory path
|
||||||
|
|
||||||
String mod (engineModName);
|
String mod (engineModName);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue