Skip to content
Browse files

Move null reset for projectileTargetEntity in GetProjectileTarget

  • Loading branch information...
botder committed Sep 9, 2019
1 parent 937c715 commit 5db0eb9d19f173e1be0e33bf347d93a82eb2390f
Showing with 2 additions and 1 deletion.
  1. +2 −1 Client/multiplayer_sa/multiplayer_shotsync.cpp
@@ -943,9 +943,10 @@ static CEntity* GetProjectileOwner(CPools* pPools)

static void GetProjectileTarget(CPools* pPools)
projectileTargetEntity = nullptr;

if (projectileTargetEntityInterface)
projectileTargetEntity = NULL;
switch (projectileTargetEntityInterface->nType)

1 comment on commit 5db0eb9


This comment has been minimized.

Copy link
Member Author

commented on 5db0eb9 Sep 9, 2019

Last commit related to this: c054cc3 Fix CClientProjectileManager::Hook_ProjectileCreation crash

Please sign in to comment.
You can’t perform that action at this time.