Re: [Widelands-dev] Widelands::OPtr

2016-03-19 Thread Fòram na Gàidhlig
Glad you found it :) Sgrìobh Tibor Bamhor na leanas 16/03/2016 aig 10:18: > OK, I found that right syntax is > > destination_.get(egbase)->get_dock_position().x > > 2016-03-16 10:28 GMT+01:00 Tibor Bamhor >: > > I run into this compilation error: > > erro

Re: [Widelands-dev] Widelands::OPtr

2016-03-16 Thread Tibor Bamhor
OK, I found that right syntax is destination_.get(egbase)->get_dock_position().x 2016-03-16 10:28 GMT+01:00 Tibor Bamhor : > I run into this compilation error: > > error: 'struct Widelands::OPtr' has no member named > 'get_dock_position' > destination_.get_dock_position().x, > > I am s

[Widelands-dev] Widelands::OPtr

2016-03-16 Thread Tibor Bamhor
I run into this compilation error: error: 'struct Widelands::OPtr' has no member named 'get_dock_position' destination_.get_dock_position().x, I am sure that Widelands::PortDock has such member function, so how can I "switch" from Widelands::OPtr to Widelands::PortDock? Tibor __