[Server] Init isWerewolf variable

Comment unused code
new-script-api
Koncord 7 years ago
parent 1c0adc47ee
commit 060ebe3d4a

@ -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…
Cancel
Save