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

Function ForcePWaterTrig

Source/trigs.cpp:645–660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643}
644
645BOOL ForcePWaterTrig()
646{
647 int i;
648
649 for (i = 0; L3DownList[i] != -1; i++) {
650 if (dPiece[cursmx][cursmy] == L3DownList[i]) {
651 sprintf(infostr, "Back to Level %i", quests[QTYPE_PW]._qlevel);
652 cursmx = trigs[0]._tx;
653 cursmy = trigs[0]._ty;
654
655 return TRUE;
656 }
657 }
658
659 return FALSE;
660}
661
662void CheckTrigForce()
663{

Callers 1

CheckTrigForceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected