mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-12 23:25:21 +00:00
- change P_ShouldPassThroughPlayer to static inline to improve performance on repeated calls
This commit is contained in:
parent
2fa2533982
commit
9777cfd500
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ TArray<spechit_t> portalhit;
|
||||||
//
|
//
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
|
|
||||||
bool P_ShouldPassThroughPlayer(AActor *self, AActor *other)
|
static inline bool P_ShouldPassThroughPlayer(AActor *self, AActor *other)
|
||||||
{
|
{
|
||||||
if (!(dmflags3 & DF3_NO_PLAYER_CLIP))
|
if (!(dmflags3 & DF3_NO_PLAYER_CLIP))
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue