[Client] Fix build

sol2-server-rewrite
David Cernat 6 years ago
parent 5cf71a4e67
commit 569911121d

@ -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;

@ -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)
{

Loading…
Cancel
Save