diff options
author | Pekka Lampila <pekka.lampila@iki.fi> | 2014-02-11 01:17:21 +0200 |
---|---|---|
committer | Pekka Lampila <pekka.lampila@iki.fi> | 2014-02-11 01:19:20 +0200 |
commit | f0b5a6fa7a3b915b6cb7c02e844a454a66bf8dce (patch) | |
tree | 7200479daabb37758cdc9384fed78a0ca8302620 /crawl-ref/source/tileweb.cc | |
parent | 601dbb03991ab469b25152013d128db614f0978f (diff) | |
download | crawl-ref-f0b5a6fa7a3b915b6cb7c02e844a454a66bf8dce.tar.gz crawl-ref-f0b5a6fa7a3b915b6cb7c02e844a454a66bf8dce.zip |
Fix item colours not being sent with a full update.
Diffstat (limited to 'crawl-ref/source/tileweb.cc')
-rw-r--r-- | crawl-ref/source/tileweb.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tileweb.cc b/crawl-ref/source/tileweb.cc index 5e84fd7c9d..3b689f184a 100644 --- a/crawl-ref/source/tileweb.cc +++ b/crawl-ref/source/tileweb.cc @@ -868,7 +868,7 @@ void TilesFramework::_send_item(item_info& current, const item_info& next, const int current_prefcol = menu_colour(current.name(DESC_INVENTORY), current_prefix); const int prefcol = menu_colour(next.name(DESC_INVENTORY), prefix); - if (current_prefcol != prefcol) + if (force_full || current_prefcol != prefcol) json_write_int("col", prefcol); } |