Added Update::Repaint

This commit is contained in:
Bruno de Oliveira Abinader
2015-08-02 22:07:55 +03:00
parent 58357b7964
commit 492bcf0bd7
7 changed files with 19 additions and 15 deletions

View File

@@ -396,6 +396,8 @@ void MapContext::setSprite(const std::string& name, std::shared_ptr<const Sprite
void MapContext::onTileDataChanged() {
assert(util::ThreadContext::currentlyOn(util::ThreadType::Map));
updated |= static_cast<UpdateType>(Update::Repaint);
asyncUpdate->send();
}