fixed a compile error

This commit is contained in:
Marc Zinnschlag 2012-03-18 17:30:05 +01:00
parent 8740354c80
commit 76b24d9d1a

View file

@ -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
{