1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 09:23:53 +00:00

removed useless member

This commit is contained in:
scrawl 2012-11-10 00:47:24 +01:00
parent 553ea08eae
commit 92bba18218
2 changed files with 0 additions and 5 deletions

View file

@ -214,7 +214,6 @@ void DialogueWindow::onSelectTopic(std::string topic)
} }
if (topic == gmst.find("sPersuasion")->getString()) if (topic == gmst.find("sPersuasion")->getString())
{ {
mPersuasionDialog.setPtr(mPtr);
mPersuasionDialog.setVisible(true); mPersuasionDialog.setVisible(true);
} }
else if (topic == gmst.find("sSpells")->getString()) else if (topic == gmst.find("sSpells")->getString())

View file

@ -33,8 +33,6 @@ namespace MWGui
virtual void open(); virtual void open();
void setPtr(MWWorld::Ptr ptr) { mPtr = ptr; }
private: private:
MyGUI::Button* mCancelButton; MyGUI::Button* mCancelButton;
MyGUI::Button* mAdmireButton; MyGUI::Button* mAdmireButton;
@ -47,8 +45,6 @@ namespace MWGui
void onCancel (MyGUI::Widget* sender); void onCancel (MyGUI::Widget* sender);
void onPersuade (MyGUI::Widget* sender); void onPersuade (MyGUI::Widget* sender);
MWWorld::Ptr mPtr;
}; };
class DialogueWindow: public WindowBase, public ReferenceInterface class DialogueWindow: public WindowBase, public ReferenceInterface