Commit f9692965 authored by Chen Bill's avatar Chen Bill Committed by GitHub

update update_cache() (#623)

parent 69f7dcf0
...@@ -176,7 +176,7 @@ card::card(duel* pd) { ...@@ -176,7 +176,7 @@ card::card(duel* pd) {
xyz_materials_previous_count_onfield = 0; xyz_materials_previous_count_onfield = 0;
current.controler = PLAYER_NONE; current.controler = PLAYER_NONE;
} }
inline void update_cache(uint32& tdata, uint32& cache, byte*& p, uint32& query_flag, const uint32 flag) { inline void update_cache(uint32 tdata, uint32& cache, byte*& p, uint32& query_flag, uint32 flag) {
if (tdata != cache) { if (tdata != cache) {
cache = tdata; cache = tdata;
buffer_write<uint32_t>(p, tdata); buffer_write<uint32_t>(p, tdata);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment