diff options
Diffstat (limited to 'ViewController.cpp')
-rw-r--r-- | ViewController.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ViewController.cpp b/ViewController.cpp index 74873e7..f5c4e1e 100644 --- a/ViewController.cpp +++ b/ViewController.cpp @@ -51,7 +51,6 @@ void ViewController::update_tiles() { void ViewController::update_artists() { People & people = this->museum.people; for (Artist * artist : people.get_artists()) { - if (artist == nullptr) continue; Rectangle rect = { .x = static_cast<unsigned int>(artist->data.x * scale), .y = static_cast<unsigned int>(artist->data.y * scale), |