- restored Wads.GetNumLumps() scripted function

https://forum.zdoom.org/viewtopic.php?t=68300
This commit is contained in:
alexey.lysiuk 2020-04-21 10:07:24 +03:00
parent 426f40dd52
commit 62d4bbbe65
2 changed files with 2 additions and 2 deletions

View File

@ -3005,7 +3005,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(_AltHUD, GetLatency, Net_GetLatency)
//
//==========================================================================
DEFINE_ACTION_FUNCTION(_Wads, GetNumEntries)
DEFINE_ACTION_FUNCTION(_Wads, GetNumLumps)
{
PARAM_PROLOGUE;
ACTION_RETURN_INT(fileSystem.GetNumEntries());

View File

@ -879,7 +879,7 @@ struct Wads
native static int FindLump(string name, int startlump = 0, FindLumpNamespace ns = GlobalNamespace);
native static string ReadLump(int lump);
native static int GetNumEntries();
native static int GetNumLumps();
native static string GetLumpName(int lump);
native static string GetLumpFullName(int lump);
native static int GetLumpNamespace(int lump);