disable some things

This commit is contained in:
quaK 2024-08-10 03:22:49 +03:00
parent 6436b88e47
commit 391fd831ab
2 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#pragma once
#define DW_DEBUG
//#define DW_DEBUG
#include "game/types/demonware.hpp"
using namespace game::demonware;

View File

@ -134,11 +134,13 @@ namespace demonware
std::string bdStorage::get_user_file_path(const std::string& name)
{
const auto regular_path = "iw7-mod/players2/user/"s;
static const auto fs_game = game::Dvar_FindVar("fs_game");
// disable this for now
/*static const auto fs_game = game::Dvar_FindVar("fs_game");
if (fs_game && fs_game->current.string && *fs_game->current.string)
{
return regular_path + fs_game->current.string + "/" + name;
}
}*/
return regular_path + name;
}