[General] Set enforcedLogLevel to -1 when initializing BasePlayer

This commit is contained in:
David Cernat 2018-04-19 20:42:27 +03:00
parent 7b702bf8c2
commit 2c77d5f498
2 changed files with 2 additions and 1 deletions

View file

@ -49,7 +49,6 @@ LocalPlayer::LocalPlayer()
charGenState.isFinished = false; charGenState.isFinished = false;
difficulty = 0; difficulty = 0;
enforcedLogLevel = -1;
physicsFramerate = 60.0; physicsFramerate = 60.0;
consoleAllowed = false; consoleAllowed = false;
bedRestAllowed = true; bedRestAllowed = true;

View file

@ -242,8 +242,10 @@ namespace mwmp
inventoryChanges.count = 0; inventoryChanges.count = 0;
spellbookChanges.action = 0; spellbookChanges.action = 0;
spellbookChanges.count = 0; spellbookChanges.count = 0;
displayCreatureName = false; displayCreatureName = false;
resetStats = false; resetStats = false;
enforcedLogLevel = -1;
} }
BasePlayer() BasePlayer()