From 76b24d9d1a54c8945491781deb485ac6444baab0 Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Sun, 18 Mar 2012 17:30:05 +0100 Subject: [PATCH] fixed a compile error --- apps/openmw/mwdialogue/dialoguemanager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/openmw/mwdialogue/dialoguemanager.cpp b/apps/openmw/mwdialogue/dialoguemanager.cpp index 4e80b8dc79..5395d3efb4 100644 --- a/apps/openmw/mwdialogue/dialoguemanager.cpp +++ b/apps/openmw/mwdialogue/dialoguemanager.cpp @@ -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(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 {