diff options
Diffstat (limited to 'src/game/server/entities/projectile.cpp')
| -rw-r--r-- | src/game/server/entities/projectile.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/server/entities/projectile.cpp b/src/game/server/entities/projectile.cpp index f45fe99d..5b3bc482 100644 --- a/src/game/server/entities/projectile.cpp +++ b/src/game/server/entities/projectile.cpp @@ -100,5 +100,6 @@ void CProjectile::Snap(int SnappingClient) return; CNetObj_Projectile *pProj = static_cast<CNetObj_Projectile *>(Server()->SnapNewItem(NETOBJTYPE_PROJECTILE, m_Id, sizeof(CNetObj_Projectile))); - FillInfo(pProj); + if(pProj) + FillInfo(pProj); } |