- Fixed: PIT_CheckThing checked AActor::tid instead of TidToHate to determine
whether a monster of the same species can be hurt. - Added new ice chunk sprites submitted by Enjay. SVN r223 (trunk)
This commit is contained in:
parent
0711b62cab
commit
7266c1e929
6 changed files with 5 additions and 2 deletions
|
|
@ -964,7 +964,7 @@ BOOL PIT_CheckThing (AActor *thing)
|
|||
if (!thing->IsHostile (tmthing->target))
|
||||
{
|
||||
// The same if the shooter hates the target
|
||||
if (thing->tid == 0 || tmthing->target->tid != thing->tid)
|
||||
if (thing->tid == 0 || tmthing->target->TIDtoHate != thing->tid)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
@ -992,7 +992,7 @@ BOOL PIT_CheckThing (AActor *thing)
|
|||
if (!thing->IsHostile (tmthing->target))
|
||||
{
|
||||
// Allow hurting monsters the shooter hates.
|
||||
if (thing->tid == 0 || tmthing->target->tid != thing->tid)
|
||||
if (thing->tid == 0 || tmthing->target->TIDtoHate != thing->tid)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue