Commit 65771f21 authored by Chen Bill's avatar Chen Bill

change to inline function

parent d233210f
......@@ -121,7 +121,7 @@ card::card(duel* pd) {
spsummon_code = 0;
current.controler = PLAYER_NONE;
}
constexpr void update_cache(uint32& tdata, uint32& cache, int32*& p, uint32& query_flag, const uint32 flag) {
inline void update_cache(uint32& tdata, uint32& cache, int32*& p, uint32& query_flag, const uint32 flag) {
if (tdata != cache) {
cache = tdata;
*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