summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/cPlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cPlayer.cpp b/source/cPlayer.cpp
index a7159b2cf..ecf6cb145 100644
--- a/source/cPlayer.cpp
+++ b/source/cPlayer.cpp
@@ -515,7 +515,7 @@ void cPlayer::SetGameMode( eGameMode a_GameMode )
m_ClientHandle->Send ( GameModePacket );
GetInventory().SendWholeInventory(m_ClientHandle);
- OldInventory->SetEquippedSlot(GetInventory().GetEquippedSlot());
+ GetInventory().SetEquippedSlot(OldInventory->GetEquippedSlot());
}
}
}