Fix equipment stats not correctly applying after enhancing gear. Release Build 7898.
This commit is contained in:
parent
a26e13fbb6
commit
73832cfa15
@ -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());
|
||||
|
||||
|
@ -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
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user