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:
parent
5cf71a4e67
commit
569911121d
2 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue