mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +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))
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue