mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Merged inn athile's work
This commit is contained in:
commit
dc453e1c1d
@ -11,8 +11,8 @@ EventInjector::EventInjector(MyGUI::Gui *g)
|
||||
: gui(g), mouseX(0), mouseY(0), enabled(true)
|
||||
{
|
||||
assert(gui);
|
||||
maxX = gui->getViewWidth();
|
||||
maxY = gui->getViewHeight();
|
||||
maxX = gui->getViewSize().width;
|
||||
maxY = gui->getViewSize().height;
|
||||
}
|
||||
|
||||
template <typename X>
|
||||
|
@ -35,7 +35,6 @@ private:
|
||||
where we poll to check if a resource is still needed, but where
|
||||
manual references are allowed.
|
||||
*/
|
||||
typedef boost::weak_ptr<Mangle::Sound::Sound> WSoundPtr;
|
||||
WSoundPtr weak;
|
||||
SoundPtr self;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user