RoF2 fix for being unable to close bags by right clicking or open multiple bags.

This commit is contained in:
Trevius
2014-12-17 01:27:30 -06:00
parent a14f8058da
commit ad61eda7e0
5 changed files with 119 additions and 124 deletions
+2 -1
View File
@@ -4878,7 +4878,8 @@ namespace RoF
uint16 ornaIcon = 0;
int32 heroModel = 0;
/*
if (inst->GetOrnamentationAug(ornamentationAugtype)) {
if (inst->GetOrnamentationAug(ornamentationAugtype))
{
const Item_Struct *aug_weap = inst->GetOrnamentationAug(ornamentationAugtype)->GetItem();
//Mainhand
ss.write(aug_weap->IDFile, strlen(aug_weap->IDFile));