Comment 2 for bug 1344350

Revision history for this message
SirVer (sirver) wrote :

This happened when get_ui_anim() was moved to the Descriptions classes (out of the objects). The ui_anim() of a constructionsite should be the one of its building_in_construction. Since the constructionsite::Descr cannot know what the future building will be, the constructionsite has to provide this information.

So get_ui_anim() has to be moved back into the building class and must be overwritten by the constructionsite (or rather by the partially constructed building).