Fix crash with logging

This commit is contained in:
Grinch_ 2022-02-18 14:14:37 +06:00
parent 7b0e71e51e
commit 91237fa152
4 changed files with 4 additions and 4 deletions

View File

@ -160,7 +160,7 @@
"HideAreaNames": "Hide area names", "HideAreaNames": "Hide area names",
"HideHud": "Hide HUD", "HideHud": "Hide HUD",
"HideRadar": "Hide radar", "HideRadar": "Hide radar",
"HideVehNames ": "Hide vehicle names", "HideVehNames": "Hide vehicle names",
"HideWantedLevel": "Hide wanted level", "HideWantedLevel": "Hide wanted level",
"Hour": "Hour", "Hour": "Hour",
"IncompatibleMods": "Incompatible mods", "IncompatibleMods": "Incompatible mods",

View File

@ -1,5 +1,5 @@
#include "pch.h"
#include "json.h" #include "json.h"
#include "pch.h"
CJson::CJson(const char* name, bool pathPredefined) CJson::CJson(const char* name, bool pathPredefined)
{ {

View File

@ -1,7 +1,7 @@
#include "pch.h" #include "pch.h"
CJson gConfig = CJson("config");
eRenderer gRenderer = Render_Unknown; eRenderer gRenderer = Render_Unknown;
std::ofstream gLog = std::ofstream("CheatMenu.log"); std::ofstream gLog = std::ofstream("CheatMenu.log");
CJson gConfig = CJson("config");
Hotkey aimSkinChanger; Hotkey aimSkinChanger;
Hotkey freeCam; Hotkey freeCam;

View File

@ -2,5 +2,5 @@
#define MENU_NAME "Cheat Menu" #define MENU_NAME "Cheat Menu"
#define MENU_VERSION_NUMBER "3.2" #define MENU_VERSION_NUMBER "3.2"
#define MENU_VERSION MENU_VERSION_NUMBER"-beta" #define MENU_VERSION MENU_VERSION_NUMBER"-beta"
#define BUILD_NUMBER "20220214" #define BUILD_NUMBER "20220218"
#define MENU_TITLE MENU_NAME " v" MENU_VERSION #define MENU_TITLE MENU_NAME " v" MENU_VERSION