forked from teamnwah/openmw-tes3coop
[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 positionChanged = false;
|
||||||
bool statsChanged = false;
|
bool statsChanged = false;
|
||||||
bool attributesChanged = false;
|
/*bool attributesChanged = false;
|
||||||
bool skillsChanged = false;
|
bool skillsChanged = false;
|
||||||
bool baseInfoChanged = false;
|
bool baseInfoChanged = false;*/
|
||||||
bool equipmentChanged = false;
|
bool equipmentChanged = false;
|
||||||
bool changedCell = false;
|
bool changedCell = false;
|
||||||
|
|
||||||
|
@ -150,12 +150,12 @@ void ActorController::sendActors(std::shared_ptr<Player> player, std::vector<std
|
||||||
positionChanged = true;
|
positionChanged = true;
|
||||||
if (actor->statsChanged)
|
if (actor->statsChanged)
|
||||||
statsChanged = true;
|
statsChanged = true;
|
||||||
if (actor->attributesChanged)
|
/*if (actor->attributesChanged)
|
||||||
attributesChanged = true;
|
attributesChanged = true;
|
||||||
if (actor->skillsChanged)
|
if (actor->skillsChanged)
|
||||||
skillsChanged = true;
|
skillsChanged = true;
|
||||||
if (actor->baseInfoChanged)
|
if (actor->baseInfoChanged)
|
||||||
baseInfoChanged = true;
|
baseInfoChanged = true;*/
|
||||||
if (actor->inventory.isEquipmentChanged())
|
if (actor->inventory.isEquipmentChanged())
|
||||||
{
|
{
|
||||||
equipmentChanged = true;
|
equipmentChanged = true;
|
||||||
|
|
|
@ -185,6 +185,7 @@ namespace mwmp
|
||||||
spellbookChanges.action = 0;
|
spellbookChanges.action = 0;
|
||||||
spellbookChanges.count = 0;
|
spellbookChanges.count = 0;
|
||||||
useCreatureName = false;
|
useCreatureName = false;
|
||||||
|
isWerewolf = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
BasePlayer()
|
BasePlayer()
|
||||||
|
|
Loading…
Reference in a new issue