Commit f82286e 1 parent ebfc2f8 commit f82286e Copy full SHA for f82286e
File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,10 @@ void building_palace::on_destroy() {
53
53
g_city.buildings .remove_palace (base);
54
54
}
55
55
56
+ void building_palace::update_count () const {
57
+ g_city.buildings .track_building (base, true );
58
+ }
59
+
56
60
bool building_palace::can_play_animation () const {
57
61
return worker_percentage () > 50 ;
58
62
}
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ class building_palace : public building_impl {
10
10
virtual void on_create (int orientation) override ;
11
11
virtual void on_post_load () override ;
12
12
virtual void on_destroy () override ;
13
+ virtual void update_count () const override ;
13
14
virtual bool can_play_animation () const override ;
14
15
virtual void update_graphic () override ;
15
16
virtual void draw_tooltip (tooltip_context *c) override ;
You can’t perform that action at this time.
0 commit comments