Update to latest CreatureLib
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -30,7 +30,7 @@ public:
|
||||
_capacity += MEM_STEPS;
|
||||
auto newLoc = realloc(_out, _capacity * sizeof(uint8_t));
|
||||
if (newLoc == nullptr) {
|
||||
throw CreatureException("Out of memory.");
|
||||
throw ArbUt::Exception("Out of memory.");
|
||||
}
|
||||
_out = (uint8_t*)newLoc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user