mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 03:35:27 +00:00
fixed a compile error
This commit is contained in:
parent
8740354c80
commit
76b24d9d1a
@ -333,6 +333,7 @@ namespace MWDialogue
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
case '5'://item
|
case '5'://item
|
||||||
|
{
|
||||||
MWWorld::Ptr player = mEnvironment.mWorld->getPlayer().getPlayer();
|
MWWorld::Ptr player = mEnvironment.mWorld->getPlayer().getPlayer();
|
||||||
MWWorld::ContainerStore& store = MWWorld::Class::get (player).getContainerStore (player);
|
MWWorld::ContainerStore& store = MWWorld::Class::get (player).getContainerStore (player);
|
||||||
|
|
||||||
@ -343,6 +344,9 @@ namespace MWDialogue
|
|||||||
sum += iter->getRefData().getCount();
|
sum += iter->getRefData().getCount();
|
||||||
if(!selectCompare<int,int>(comp,sum,select.i)) return false;
|
if(!selectCompare<int,int>(comp,sum,select.i)) return false;
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
case '7':// not ID
|
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
|
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…
x
Reference in New Issue
Block a user