mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Update the known locations of the addons in a Megaton installation. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4594 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
c3102f2c89
commit
45641db803
1 changed files with 14 additions and 2 deletions
|
@ -616,7 +616,13 @@ void G_AddSearchPaths(void)
|
|||
Bsnprintf(buf, sizeof(buf), "%s/gameroot", instpath);
|
||||
addsearchpath(buf);
|
||||
|
||||
Bsnprintf(buf, sizeof(buf), "%s/gameroot/addons", instpath);
|
||||
Bsnprintf(buf, sizeof(buf), "%s/gameroot/addons/dc", instpath);
|
||||
addsearchpath(buf);
|
||||
|
||||
Bsnprintf(buf, sizeof(buf), "%s/gameroot/addons/nw", instpath);
|
||||
addsearchpath(buf);
|
||||
|
||||
Bsnprintf(buf, sizeof(buf), "%s/gameroot/addons/vacation", instpath);
|
||||
addsearchpath(buf);
|
||||
}
|
||||
|
||||
|
@ -636,7 +642,13 @@ void G_CleanupSearchPaths(void)
|
|||
Bsnprintf(buf, sizeof(buf), "%s/gameroot", instpath);
|
||||
removesearchpath(buf);
|
||||
|
||||
Bsnprintf(buf, sizeof(buf), "%s/gameroot/addons", instpath);
|
||||
Bsnprintf(buf, sizeof(buf), "%s/gameroot/addons/dc", instpath);
|
||||
removesearchpath(buf);
|
||||
|
||||
Bsnprintf(buf, sizeof(buf), "%s/gameroot/addons/nw", instpath);
|
||||
removesearchpath(buf);
|
||||
|
||||
Bsnprintf(buf, sizeof(buf), "%s/gameroot/addons/vacation", instpath);
|
||||
removesearchpath(buf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue