forked from teamnwah/openmw-tes3coop
Merge pull request #310 from OpenMW/master while resolving conflicts
# Conflicts: # CMakeLists.txt
This commit is contained in:
commit
41ff3fee89
4 changed files with 11 additions and 1 deletions
|
@ -537,6 +537,7 @@ if(WIN32)
|
||||||
SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\www.openmw.org")
|
SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\www.openmw.org")
|
||||||
SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\www.openmw.org")
|
SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\www.openmw.org")
|
||||||
SET(CPACK_NSIS_INSTALLED_ICON_NAME "openmw-launcher.exe")
|
SET(CPACK_NSIS_INSTALLED_ICON_NAME "openmw-launcher.exe")
|
||||||
|
SET(CPACK_NSIS_MUI_FINISHPAGE_RUN "openmw-launcher.exe")
|
||||||
SET(CPACK_NSIS_MUI_ICON "${OpenMW_SOURCE_DIR}/files/tes3mp/tes3mp.ico")
|
SET(CPACK_NSIS_MUI_ICON "${OpenMW_SOURCE_DIR}/files/tes3mp/tes3mp.ico")
|
||||||
SET(CPACK_NSIS_MUI_UNIICON "${OpenMW_SOURCE_DIR}/files/tes3mp/tes3mp.ico")
|
SET(CPACK_NSIS_MUI_UNIICON "${OpenMW_SOURCE_DIR}/files/tes3mp/tes3mp.ico")
|
||||||
SET(CPACK_PACKAGE_ICON "${OpenMW_SOURCE_DIR}\\\\files\\\\openmw.bmp")
|
SET(CPACK_PACKAGE_ICON "${OpenMW_SOURCE_DIR}\\\\files\\\\openmw.bmp")
|
||||||
|
|
|
@ -142,6 +142,9 @@ void ContainerItemModel::update()
|
||||||
|
|
||||||
for (MWWorld::ContainerStoreIterator it = store.begin(); it != store.end(); ++it)
|
for (MWWorld::ContainerStoreIterator it = store.begin(); it != store.end(); ++it)
|
||||||
{
|
{
|
||||||
|
if (!(*it).getClass().showsInInventory(*it))
|
||||||
|
continue;
|
||||||
|
|
||||||
std::vector<ItemStack>::iterator itemStack = mItems.begin();
|
std::vector<ItemStack>::iterator itemStack = mItems.begin();
|
||||||
for (; itemStack != mItems.end(); ++itemStack)
|
for (; itemStack != mItems.end(); ++itemStack)
|
||||||
{
|
{
|
||||||
|
|
|
@ -203,4 +203,10 @@ namespace MWGui
|
||||||
checkReferenceAvailable();
|
checkReferenceAvailable();
|
||||||
mTimeAdvancer.onFrame(dt);
|
mTimeAdvancer.onFrame(dt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool TrainingWindow::exit()
|
||||||
|
{
|
||||||
|
return !mTimeAdvancer.isRunning();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@ namespace MWGui
|
||||||
|
|
||||||
virtual void onOpen();
|
virtual void onOpen();
|
||||||
|
|
||||||
bool exit() { return false; }
|
bool exit();
|
||||||
|
|
||||||
void setPtr(const MWWorld::Ptr& actor);
|
void setPtr(const MWWorld::Ptr& actor);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue