- 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:
Christoph Oelckers 2006-06-24 23:58:01 +00:00
parent 0711b62cab
commit 7266c1e929
6 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 B

After

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 197 B

After

Width:  |  Height:  |  Size: 186 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 165 B

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 123 B

After

Width:  |  Height:  |  Size: 114 B