forked from mirror/openmw-tes3mp
fixed a compile error
This commit is contained in:
parent
8740354c80
commit
76b24d9d1a
1 changed files with 4 additions and 0 deletions
|
@ -333,6 +333,7 @@ namespace MWDialogue
|
|||
return true;
|
||||
|
||||
case '5'://item
|
||||
{
|
||||
MWWorld::Ptr player = mEnvironment.mWorld->getPlayer().getPlayer();
|
||||
MWWorld::ContainerStore& store = MWWorld::Class::get (player).getContainerStore (player);
|
||||
|
||||
|
@ -343,6 +344,9 @@ namespace MWDialogue
|
|||
sum += iter->getRefData().getCount();
|
||||
if(!selectCompare<int,int>(comp,sum,select.i)) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
case '7':// not ID
|
||||
if(select.type==ESM::VT_String ||select.type==ESM::VT_Int)//bug in morrowind here? it's not a short, it's a string
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue