Commit a4fc4689 authored by salix5's avatar salix5

update DOUBLE_DAMAGE, HALF_DAMAGE

avoid narrowing conversion from int64(Lua) to int32
parent 10610ff0
......@@ -548,8 +548,8 @@ inline effect_flag operator|(effect_flag flag1, effect_flag flag2)
#define EVENT_REMOVE_COUNTER 0x20000
#define EVENT_CUSTOM 0x10000000
#define DOUBLE_DAMAGE 0x80000000
#define HALF_DAMAGE 0x80000001
constexpr int32 DOUBLE_DAMAGE = 0x80000000;
constexpr int32 HALF_DAMAGE = 0x80000001;
// flag effect
#define EFFECT_FLAG_EFFECT 0x20000000
......
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