Rooking player now possible

Reserved storage value 30017 to enable first items when a player is rooked.
#17
This commit is contained in:
Alejandro Mujica
2019-04-13 18:53:53 -04:00
parent d1224058dd
commit 10bc933659
2 changed files with 4 additions and 3 deletions

View File

@@ -1732,8 +1732,7 @@ void Player::death(Creature* lastHitCreature)
loginPosition = getTemplePosition();
// Restart first items
lastLoginSaved = 0;
lastLogout = 0;
addStorageValue(30017, 1);
// Restart items
for (int32_t slot = CONST_SLOT_FIRST; slot <= CONST_SLOT_LAST; slot++)