ULTIMA8: Terminate attack process if target is null

Thanks coverity!
This commit is contained in:
Matthew Duggan 2020-11-02 16:25:11 +09:00
parent 283f96724e
commit baf9124395

View File

@ -182,6 +182,7 @@ void AttackProcess::run() {
if (!target || target->isDead()) {
warning("got into attack process with invalid target");
terminate();
return;
}
const Direction curdir = a->getDir();