Fix equipment stats not correctly applying after enhancing gear. Release Build 7898.

This commit is contained in:
sigonasr2 2024-03-03 23:45:11 -06:00
parent a26e13fbb6
commit 73832cfa15
3 changed files with 3 additions and 1 deletions

View File

@ -928,6 +928,8 @@ void Item::EnhanceItem(uint8_t qty){
game->GetPlayer()->SetMoney(game->GetPlayer()->GetMoney()-consumedResources.GetCost());
SoundEffect::PlaySFX("Enhance Item",SoundEffect::CENTERED);
game->GetPlayer()->RecalculateEquipStats();
}else{ //This is a craftable, so we have to give the player the item they crafted.
Inventory::AddItem(ActualName());

View File

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 0
#define VERSION_MINOR 4
#define VERSION_PATCH 4
#define VERSION_BUILD 7897
#define VERSION_BUILD 7898
#define stringify(a) stringify_(a)
#define stringify_(a) #a