MCPcopy Create free account
hub / github.com/ZDoom/gzdoom / GetSecretExitMap

Method GetSecretExitMap

src/g_level.cpp:866–878  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

864//==========================================================================
865
866const char *FLevelLocals::GetSecretExitMap()
867{
868 const char *nextmap = NextMap.GetChars();
869
870 if (NextSecretMap.Len() > 0)
871 {
872 if (NextSecretMap.Compare("enDSeQ", 6) == 0 || P_CheckMapData(NextSecretMap.GetChars()))
873 {
874 nextmap = NextSecretMap.GetChars();
875 }
876 }
877 return nextmap;
878}
879
880//==========================================================================
881//

Callers 1

FUNCFunction · 0.80

Calls 4

P_CheckMapDataFunction · 0.85
LenMethod · 0.80
GetCharsMethod · 0.45
CompareMethod · 0.45

Tested by 1

FUNCFunction · 0.64