MCPcopy Create free account
hub / github.com/diasurgical/devilution / SyncInitPlr

Function SyncInitPlr

Source/player.cpp:3858–3866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3856}
3857
3858void SyncInitPlr(int pnum)
3859{
3860 if ((DWORD)pnum >= MAX_PLRS) {
3861 app_fatal("SyncInitPlr: illegal player %d", pnum);
3862 }
3863
3864 SetPlrAnims(pnum);
3865 SyncInitPlrPos(pnum);
3866}
3867
3868void CheckStats(int p)
3869{

Callers 3

On_PLAYER_JOINLEVELFunction · 0.85
LoadGameFunction · 0.85
recv_plrinfoFunction · 0.85

Calls 3

app_fatalFunction · 0.85
SetPlrAnimsFunction · 0.85
SyncInitPlrPosFunction · 0.85

Tested by

no test coverage detected