mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-06-04 20:41:34 +00:00
gcc compile fix
This commit is contained in:
parent
25432d97d2
commit
1b02b503a2
3 changed files with 4 additions and 4 deletions
|
@ -74,7 +74,7 @@ void ContainerWindow::setName(std::string contName)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void ContainerWindow::open(MWWorld::Ptr& container)
|
void ContainerWindow::open(MWWorld::Ptr container)
|
||||||
{
|
{
|
||||||
setName(MWWorld::Class::get(container).getName(container));
|
setName(MWWorld::Class::get(container).getName(container));
|
||||||
//MWWorld::ContainerStore* containerStore = container.getContainerStore();
|
//MWWorld::ContainerStore* containerStore = container.getContainerStore();
|
||||||
|
@ -171,4 +171,4 @@ void ContainerWindow::onByeClicked(MyGUI::Widget* _sender)
|
||||||
void ContainerWindow::onSelectedItem(MyGUI::ItemBox* _sender, size_t _index)
|
void ContainerWindow::onSelectedItem(MyGUI::ItemBox* _sender, size_t _index)
|
||||||
{
|
{
|
||||||
std::cout << "selected!";
|
std::cout << "selected!";
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,7 @@ namespace MWGui
|
||||||
ContainerWindow(WindowManager& parWindowManager,MWWorld::Environment& environment,std::string guiFile);
|
ContainerWindow(WindowManager& parWindowManager,MWWorld::Environment& environment,std::string guiFile);
|
||||||
|
|
||||||
|
|
||||||
void open(MWWorld::Ptr& container);
|
void open(MWWorld::Ptr container);
|
||||||
void setName(std::string contName);
|
void setName(std::string contName);
|
||||||
void Update();
|
void Update();
|
||||||
|
|
||||||
|
|
|
@ -31,4 +31,4 @@ namespace MWGui
|
||||||
open(mEnvironment.mWorld->getPlayer().getPlayer());
|
open(mEnvironment.mWorld->getPlayer().getPlayer());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue