mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-04-22 19:00:56 +00:00
dap: include sbarinfo in script types (no debug support for anything but zscript yet, this is just for returning source info)
This commit is contained in:
parent
c608873002
commit
7e2e0cec8c
1 changed files with 2 additions and 1 deletions
|
@ -118,7 +118,8 @@ static inline bool isScriptPath(const std::string &path)
|
|||
}
|
||||
std::string scriptName = ToLowerCopy(path.substr(normalizePath(path).find_last_of('/') + 1));
|
||||
auto ext = scriptName.substr(scriptName.find_last_of('.') + 1);
|
||||
if (!(ext == "zs" || ext == "zsc" || ext == "zc" || ext == "acs" || ext == "dec" || (scriptName == "DECORATE") || (scriptName == "ACS")))
|
||||
if (!(ext == "zs" || ext == "zsc" || ext == "zc" || ext == "acs" || ext == "dec" || (scriptName == "decorate") || (scriptName == "acs")
|
||||
|| (scriptName == "sbarinfo")))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue