mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fixed nullptr/bool mixup.
This commit is contained in:
parent
9cf1d96698
commit
8a08fb2f6a
1 changed files with 1 additions and 1 deletions
|
@ -673,7 +673,7 @@ bool P_Thing_CheckProximity(AActor *self, PClass *classname, double distance, in
|
|||
|
||||
// We need these to check out.
|
||||
if (!ref || !classname || distance <= 0)
|
||||
return nullptr;
|
||||
return false;
|
||||
|
||||
int counter = 0;
|
||||
bool result = false;
|
||||
|
|
Loading…
Reference in a new issue