Use Arbutils exception Macros, instead of own ones.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
@@ -65,7 +65,7 @@ namespace CreatureLib::Battling {
|
||||
return _hits[i * _numberHits + hit];
|
||||
}
|
||||
}
|
||||
THROW_CREATURE("Invalid target requested.");
|
||||
THROW("Invalid target requested.");
|
||||
}
|
||||
|
||||
HitData* GetTargetIteratorBegin(ArbUt::BorrowedPtr<Creature> creature) {
|
||||
@@ -74,7 +74,7 @@ namespace CreatureLib::Battling {
|
||||
return &_hits[i * _numberHits];
|
||||
}
|
||||
}
|
||||
THROW_CREATURE("Invalid target requested.");
|
||||
THROW("Invalid target requested.");
|
||||
}
|
||||
|
||||
bool IsCreatureTarget(ArbUt::BorrowedPtr<Creature> creature) noexcept {
|
||||
|
||||
Reference in New Issue
Block a user