Commit 6d842e3c authored by Chen Bill's avatar Chen Bill

inline by default

parent aea5eb4e
......@@ -66,10 +66,10 @@ struct card_state {
effect* reason_effect{ nullptr };
bool is_location(int32 loc) const;
inline bool is_main_mzone() const {
bool is_main_mzone() const {
return location == LOCATION_MZONE && sequence >= 0 && sequence <= 4;
}
inline bool is_stzone() const {
bool is_stzone() const {
return location == LOCATION_SZONE && sequence >= 0 && sequence <= 4;
}
void init_state();
......
......@@ -25,7 +25,7 @@ public:
uint32 is_readonly{ 0 };
bool is_iterator_dirty{ true };
inline bool has_card(card* c) {
bool has_card(card* c) {
return container.find(c) != container.end();
}
......
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