MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / GetMapReturnLevel

Function GetMapReturnLevel

Source/quests.cpp:506–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

504}
505
506int GetMapReturnLevel()
507{
508 switch (setlvlnum) {
509 case SL_SKELKING:
510 return Quests[Q_SKELKING]._qlevel;
511 case SL_BONECHAMB:
512 return Quests[Q_SCHAMB]._qlevel;
513 case SL_POISONWATER:
514 return Quests[Q_PWATER]._qlevel;
515 case SL_VILEBETRAYER:
516 return Quests[Q_BETRAYER]._qlevel;
517 default:
518 return 0;
519 }
520}
521
522Point GetMapReturnPosition()
523{

Callers 2

ShowProgressFunction · 0.85
CheckTriggersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected