1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 20:19:57 +00:00

[Client] Fix build

This commit is contained in:
David Cernat 2018-01-27 22:03:21 +02:00
parent 5cf71a4e67
commit 569911121d
2 changed files with 3 additions and 3 deletions

View file

@ -168,7 +168,7 @@ void DedicatedActor::setEquipment()
for (int slot = 0; slot < MWWorld::InventoryStore::Slots; ++slot)
{
int count = equipedItems[slot].count;
int count = equipmentItems[slot].count;
// If we've somehow received a corrupted item with a count lower than 0, ignore it
if (count < 0) continue;

View file

@ -761,7 +761,7 @@ void LocalPlayer::resurrect()
MWBase::World *world = MWBase::Environment::get().getWorld();
MWWorld::Ptr ptrPlayer = getPlayerPtr();
switch (player->resurrectType)
switch (resurrectType)
{
case ResurrectType::Regular:
break;
@ -1159,7 +1159,7 @@ void LocalPlayer::setFactions()
MWWorld::Ptr ptrPlayer = getPlayerPtr();
MWMechanics::NpcStats &ptrNpcStats = ptrPlayer.getClass().getNpcStats(ptrPlayer);
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Received ID_PLAYER_FACTION from server\n- action: %i", factionChanges.action);
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Received ID_PLAYER_FACTION from server");
for (const auto &faction : factionChanges.factions)
{