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

This commit is contained in:
Trevius committed 2014-12-17 01:27:30 -06:00
1 parent a14f8058da
commit ad61eda7e0
5 files changed
+119 -124

No files matched your search

+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));