MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / WarpToLevel

Method WarpToLevel

netgames/dmfc/dmfcbase.cpp:5164–5173  ·  view source on GitHub ↗

1 - (num_levels)

Source from the content-addressed store, hash-verified

5162
5163// 1 - (num_levels)
5164void DMFCBase::WarpToLevel(int lev) {
5165 if (GetLocalRole() != LR_SERVER)
5166 return;
5167
5168 if (lev < 1 || lev > Current_mission->num_levels)
5169 return;
5170
5171 *Multi_next_level = lev;
5172 EndLevel();
5173}
5174
5175void DMFCBase::SetPlayerTauntIndicator(int pnum) {
5176 if (!CheckPlayerNum(pnum))

Callers 2

DMFCInputCommand_WarpFunction · 0.80

Calls 1

EndLevelFunction · 0.85

Tested by

no test coverage detected