mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 20:19:57 +00:00
[Server] Init isWerewolf variable
Comment unused code
This commit is contained in:
parent
1c0adc47ee
commit
060ebe3d4a
2 changed files with 5 additions and 4 deletions
|
@ -135,9 +135,9 @@ void ActorController::sendActors(std::shared_ptr<Player> player, std::vector<std
|
|||
|
||||
bool positionChanged = false;
|
||||
bool statsChanged = false;
|
||||
bool attributesChanged = false;
|
||||
/*bool attributesChanged = false;
|
||||
bool skillsChanged = false;
|
||||
bool baseInfoChanged = false;
|
||||
bool baseInfoChanged = false;*/
|
||||
bool equipmentChanged = false;
|
||||
bool changedCell = false;
|
||||
|
||||
|
@ -150,12 +150,12 @@ void ActorController::sendActors(std::shared_ptr<Player> player, std::vector<std
|
|||
positionChanged = true;
|
||||
if (actor->statsChanged)
|
||||
statsChanged = true;
|
||||
if (actor->attributesChanged)
|
||||
/*if (actor->attributesChanged)
|
||||
attributesChanged = true;
|
||||
if (actor->skillsChanged)
|
||||
skillsChanged = true;
|
||||
if (actor->baseInfoChanged)
|
||||
baseInfoChanged = true;
|
||||
baseInfoChanged = true;*/
|
||||
if (actor->inventory.isEquipmentChanged())
|
||||
{
|
||||
equipmentChanged = true;
|
||||
|
|
|
@ -185,6 +185,7 @@ namespace mwmp
|
|||
spellbookChanges.action = 0;
|
||||
spellbookChanges.count = 0;
|
||||
useCreatureName = false;
|
||||
isWerewolf = false;
|
||||
}
|
||||
|
||||
BasePlayer()
|
||||
|
|
Loading…
Reference in a new issue