- 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)
|
@ -1,4 +1,7 @@
|
|||
June 24, 2006 (Changes by Graf Zahl)
|
||||
- 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.
|
||||
- Deleted the programmer death script from strifehelp.acs because it is no
|
||||
longer used.
|
||||
- Fixed: strfhelp.acs and the PUMPUPS cheat need to give 10 UpgradeStaminas
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Before Width: | Height: | Size: 217 B After Width: | Height: | Size: 191 B |
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 186 B |
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 151 B |
Before Width: | Height: | Size: 123 B After Width: | Height: | Size: 114 B |