mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 11:23:51 +00:00
[General] Set default values for some variables in BasePlayer
This commit is contained in:
parent
1283d5d487
commit
446c22723e
3 changed files with 12 additions and 25 deletions
|
@ -52,8 +52,6 @@ DedicatedPlayer::DedicatedPlayer(RakNet::RakNetGUID guid) : BasePlayer(guid)
|
|||
// the ground
|
||||
creatureStats.mDynamic[2].mBase = 1000;
|
||||
|
||||
movementFlags = 0;
|
||||
hasTcl = false;
|
||||
attack.instant = false;
|
||||
|
||||
cell.blank();
|
||||
|
|
|
@ -53,13 +53,6 @@ LocalPlayer::LocalPlayer()
|
|||
charGenState.endStage = 1;
|
||||
charGenState.isFinished = false;
|
||||
|
||||
difficulty = 0;
|
||||
physicsFramerate = 60.0;
|
||||
consoleAllowed = false;
|
||||
bedRestAllowed = true;
|
||||
wildernessRestAllowed = true;
|
||||
waitAllowed = true;
|
||||
|
||||
ignorePosPacket = false;
|
||||
ignoreJailTeleportation = false;
|
||||
ignoreJailSkillIncreases = false;
|
||||
|
@ -81,10 +74,6 @@ LocalPlayer::LocalPlayer()
|
|||
jailProgressText = "";
|
||||
jailEndText = "";
|
||||
|
||||
scale = 1;
|
||||
isWerewolf = false;
|
||||
hasTcl = false;
|
||||
|
||||
isReceivingInventory = false;
|
||||
isReceivingQuickKeys = false;
|
||||
isPlayingAnimation = false;
|
||||
|
|
|
@ -218,21 +218,21 @@ namespace mwmp
|
|||
ESM::ActiveSpells activeSpells;
|
||||
CurrentContainer currentContainer;
|
||||
|
||||
int difficulty;
|
||||
int difficulty = 0;
|
||||
int enforcedLogLevel;
|
||||
float physicsFramerate;
|
||||
bool consoleAllowed;
|
||||
bool bedRestAllowed;
|
||||
bool wildernessRestAllowed;
|
||||
bool waitAllowed;
|
||||
float physicsFramerate = 60.0;
|
||||
bool consoleAllowed = false;
|
||||
bool bedRestAllowed = true;
|
||||
bool wildernessRestAllowed = true;
|
||||
bool waitAllowed = true;
|
||||
|
||||
bool ignorePosPacket;
|
||||
|
||||
unsigned int movementFlags;
|
||||
unsigned int movementFlags = 0;
|
||||
char movementAnim;
|
||||
char drawState;
|
||||
bool isFlying;
|
||||
bool hasTcl;
|
||||
bool isFlying = false;
|
||||
bool hasTcl = false;
|
||||
|
||||
ESM::Position position;
|
||||
ESM::Position direction;
|
||||
|
@ -255,9 +255,9 @@ namespace mwmp
|
|||
Animation animation;
|
||||
char deathState;
|
||||
|
||||
bool resetStats;
|
||||
float scale;
|
||||
bool isWerewolf;
|
||||
bool resetStats = false;
|
||||
float scale = 1;
|
||||
bool isWerewolf = false;
|
||||
|
||||
bool displayCreatureName;
|
||||
std::string creatureRefId;
|
||||
|
|
Loading…
Reference in a new issue