mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-20 18:52:43 +00:00
- fixed bad pointer comparison.
MSVC did not catch this, only GCC 11 and Clang errored out on this one. :(
This commit is contained in:
parent
da817a234b
commit
5d0ee1478c
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ void AIMummy::Tick(RunListEvent* ev)
|
|||
if (pTarget == nullptr)
|
||||
{
|
||||
auto pTarget = FindPlayer(pActor, 100);
|
||||
if (pTarget >= 0)
|
||||
if (pTarget != nullptr)
|
||||
{
|
||||
D3PlayFX(StaticSound[kSound7], pActor);
|
||||
pActor->nFrame = 0;
|
||||
|
|
Loading…
Reference in a new issue