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

Function delta_sync_golem

Source/msg.cpp:354–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354void delta_sync_golem(TCmdGolem *pG, int pnum, BYTE bLevel)
355{
356 DMonsterStr *pD;
357
358 if (gbMaxPlayers != 1) {
359 sgbDeltaChanged = TRUE;
360 pD = &sgLevels[bLevel].monster[pnum];
361 pD->_mx = pG->_mx;
362 pD->_my = pG->_my;
363 pD->_mactive = UCHAR_MAX;
364 pD->_menemy = pG->_menemy;
365 pD->_mdir = pG->_mdir;
366 pD->_mhitpoints = pG->_mhitpoints;
367 }
368}
369
370void delta_leave_sync(BYTE bLevel)
371{

Callers 1

On_AWAKEGOLEMFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected