Fix clang-cl compile errors

Cannot concatenate __FUNCTION__ macro like this.
This commit is contained in:
Kawe Mazidjatari 2023-04-01 13:10:22 +02:00
parent 69e6c4718e
commit 16ea75d5a2
2 changed files with 3 additions and 3 deletions

View File

@ -30,14 +30,14 @@ void StreamDB_Init(const char* pszLevelName)
if (pStreamKV)
{
const char* pszColumnName = pStreamKV->GetString();
DevMsg(eDLL_T::MS, __FUNCTION__": Loading override STBSP file '%s.stbsp'\n", pszColumnName);
DevMsg(eDLL_T::MS, "StreamDB_Init: Loading override STBSP file '%s.stbsp'\n", pszColumnName);
v_StreamDB_Init(pszColumnName);
return;
}
}
DevMsg(eDLL_T::MS, __FUNCTION__": Loading STBSP file '%s.stbsp'\n", pszLevelName);
DevMsg(eDLL_T::MS, "StreamDB_Init: Loading STBSP file '%s.stbsp'\n", pszLevelName);
v_StreamDB_Init(pszLevelName);
}

View File

@ -1057,7 +1057,7 @@ void Mat_CrossHair_f(const CCommand& args)
}
else
{
DevMsg(eDLL_T::MS, __FUNCTION__": No material found >:(\n");
DevMsg(eDLL_T::MS, "%s: No material found >:(\n", __FUNCTION__);
}
}