1
0
mirror of https://github.com/Mauler125/r5sdk.git synced 2025-02-09 19:15:03 +01:00

Update cmodel_bsp.cpp

This commit is contained in:
Kawe Mazidjatari 2023-07-15 22:03:33 +02:00
parent 5fc38d5c96
commit db3455cbb7

@ -57,9 +57,7 @@ void Mod_GetAllInstalledMaps()
FOR_EACH_VEC(fileList, i)
{
const CUtlString& filePath = fileList[i];
const char* pFilePath = filePath.Get();
const char* pFileName = strrchr(pFilePath, '/')+1;
const char* pFileName = strrchr(filePath.Get(), '/')+1;
// Should always point right in front of the last
// slash, as the files are loaded from 'vpk/'.