- Added Gez's submission for Eternity-style skybox definitions.
SVN r2151 (trunk)
This commit is contained in:
parent
ecb9d2f24b
commit
4310b239f4
8 changed files with 316 additions and 25 deletions
|
|
@ -535,7 +535,7 @@ bool P_CheckSwitchRange(AActor *user, line_t *line, int sideno)
|
|||
// to keep compatibility with Eternity's implementation.
|
||||
if (!P_GetMidTexturePosition(line, sideno, &checktop, &checkbot))
|
||||
return false;
|
||||
return user->z < checktop || user->z + user->height > checkbot;
|
||||
return user->z < checktop && user->z + user->height > checkbot;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue