MCPcopy Create free account
hub / github.com/ddnet/ddnet / UseProjectileExtraInfo

Function UseProjectileExtraInfo

src/game/client/projectile_data.cpp:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include <game/collision.h>
12
13static bool UseProjectileExtraInfo(const CNetObj_Projectile *pProj)
14{
15 return pProj->m_VelY >= 0 && (pProj->m_VelY & LEGACYPROJECTILEFLAG_IS_DDNET) != 0;
16}
17
18CProjectileData ExtractProjectileInfo(int NetObjType, const void *pData, CGameWorld *pGameWorld, const CNetObj_EntityEx *pEntEx)
19{

Callers 2

ExtractProjectileInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected