fix: startup on hlds_l 3111e (still needs nosmid)
build: add option to build bot without any smid instructions refactor: fix static analyzer warnings crlib: update submodule (fix double anglevectors call)
This commit is contained in:
parent
3d84b96534
commit
c7c5e0eaf9
14 changed files with 92 additions and 70 deletions
|
|
@ -430,6 +430,11 @@ StringRef BotStorage::getRunningPath () {
|
|||
if (path.startsWith ("<unk")) {
|
||||
logger.fatal ("Unable to detect library path. Giving up...");
|
||||
}
|
||||
|
||||
// remove dot prefix
|
||||
if (path.startsWith (".")) {
|
||||
path.ltrim (".\\/");
|
||||
}
|
||||
auto parts = path.substr (1).split (kPathSeparator);
|
||||
|
||||
parts.pop (); // remove library name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue