mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 03:15:32 +00:00
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;
|
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…
Reference in a new issue