This commit is contained in:
1 file changed
+4
-1
@@ -26,7 +26,10 @@ namespace CreatureLib::Battling {
|
||||
inline ArbUt::OptionalBorrowedPtr<void> GetOwner() const noexcept { return _owner; }
|
||||
inline bool IsSuppressed() const noexcept { return _suppressed > 0; }
|
||||
inline void Suppress() { _suppressed++; }
|
||||
inline void Unsuppress() { _suppressed--; }
|
||||
inline void Unsuppress() {
|
||||
if (_suppressed > 0)
|
||||
_suppressed--;
|
||||
}
|
||||
|
||||
virtual ~BattleScript() = default;
|
||||
|
||||
|
||||
Reference in new issue
Block a user