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

Function On_RESURRECT

Source/msg.cpp:2007–2019  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2005}
2006
2007DWORD On_RESURRECT(TCmd *pCmd, int pnum)
2008{
2009 TCmdParam1 *p = (TCmdParam1 *)pCmd;
2010
2011 if (gbBufferMsgs == 1)
2012 msg_send_packet(pnum, p, sizeof(*p));
2013 else {
2014 DoResurrect(pnum, p->wParam1);
2015 check_update_plr(pnum);
2016 }
2017
2018 return sizeof(*p);
2019}
2020
2021DWORD On_HEALOTHER(TCmd *pCmd, int pnum)
2022{

Callers 1

ParseCmdFunction · 0.85

Calls 3

msg_send_packetFunction · 0.85
DoResurrectFunction · 0.85
check_update_plrFunction · 0.85

Tested by

no test coverage detected