hop- / Mercurius

This is a very secret project. Nobody knows what it is.
GNU General Public License v2.0
3 stars 0 forks source link

Layer::addLogicObject did not use redefined virtual function onAddObject #8

Closed hop- closed 8 years ago

hop- commented 8 years ago

In Layer::addLogicObject it forced to call addObject form Base::ContainerObject parent. addObject of Base::ContainerObject calls virtual empty function onObjectAdding which is redefined in Layer and should be used on addObject.

tigrangs commented 8 years ago

maybe you mean Logic::addLogicObject instead of Layer::...?

hop- commented 8 years ago

Yes you are right:D

tigrangs commented 8 years ago

Fixed