disable some things
This commit is contained in:
parent
6436b88e47
commit
391fd831ab
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define DW_DEBUG
|
//#define DW_DEBUG
|
||||||
|
|
||||||
#include "game/types/demonware.hpp"
|
#include "game/types/demonware.hpp"
|
||||||
using namespace game::demonware;
|
using namespace game::demonware;
|
||||||
|
@ -134,11 +134,13 @@ namespace demonware
|
|||||||
std::string bdStorage::get_user_file_path(const std::string& name)
|
std::string bdStorage::get_user_file_path(const std::string& name)
|
||||||
{
|
{
|
||||||
const auto regular_path = "iw7-mod/players2/user/"s;
|
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)
|
if (fs_game && fs_game->current.string && *fs_game->current.string)
|
||||||
{
|
{
|
||||||
return regular_path + fs_game->current.string + "/" + name;
|
return regular_path + fs_game->current.string + "/" + name;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
return regular_path + name;
|
return regular_path + name;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user