- Update to latest version in trunk.
SVN r3890 (scripting)
This commit is contained in:
commit
e7efa1d802
117 changed files with 2260 additions and 787 deletions
|
|
@ -86,7 +86,9 @@ void P_TouchSpecialThing (AActor *special, AActor *toucher)
|
|||
{
|
||||
fixed_t delta = special->z - toucher->z;
|
||||
|
||||
if (delta > toucher->height || delta < -32*FRACUNIT)
|
||||
// The pickup is at or above the toucher's feet OR
|
||||
// The pickup is below the toucher.
|
||||
if (delta > toucher->height || delta < MIN(-32*FRACUNIT, -special->height))
|
||||
{ // out of reach
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue