Small fixup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5978 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
50aa60a8ca
commit
0dc79f7f0a
1 changed files with 5 additions and 5 deletions
|
@ -198,17 +198,13 @@ static char *manifestpackages; //metapackage named by the manicfest.
|
||||||
static char *declinedpackages; //metapackage named by the manicfest.
|
static char *declinedpackages; //metapackage named by the manicfest.
|
||||||
static int domanifestinstall; //SECURITY_MANIFEST_*
|
static int domanifestinstall; //SECURITY_MANIFEST_*
|
||||||
|
|
||||||
|
#ifdef WEBCLIENT
|
||||||
static struct
|
static struct
|
||||||
{
|
{
|
||||||
char *package; //package to load. don't forget its dependancies too.
|
char *package; //package to load. don't forget its dependancies too.
|
||||||
char *map; //the map to load.
|
char *map; //the map to load.
|
||||||
} pm_onload;
|
} pm_onload;
|
||||||
|
|
||||||
#ifndef SERVERONLY
|
|
||||||
//static qboolean pluginpromptshown; //so we only show prompts for new externally-installed plugins once, instead of every time the file is reloaded.
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef WEBCLIENT
|
|
||||||
static int allowphonehome = -1; //if autoupdates are disabled, make sure we get (temporary) permission before phoning home for available updates. (-1=unknown, 0=no, 1=yes)
|
static int allowphonehome = -1; //if autoupdates are disabled, make sure we get (temporary) permission before phoning home for available updates. (-1=unknown, 0=no, 1=yes)
|
||||||
static qboolean doautoupdate; //updates will be marked (but not applied without the user's actions)
|
static qboolean doautoupdate; //updates will be marked (but not applied without the user's actions)
|
||||||
static qboolean pkg_updating; //when flagged, further changes are blocked until completion.
|
static qboolean pkg_updating; //when flagged, further changes are blocked until completion.
|
||||||
|
@ -3983,6 +3979,10 @@ void PM_LoadMap(const char *package, const char *map)
|
||||||
pkg_updating = true;
|
pkg_updating = true;
|
||||||
PM_StartADownload();
|
PM_StartADownload();
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
void PM_LoadMap(const char *package, const char *map)
|
||||||
|
{ //not supported, which is a shame because it might have been downloaded via other means.
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
//'just' starts doing all the things needed to remove/install selected packages
|
//'just' starts doing all the things needed to remove/install selected packages
|
||||||
void PM_ApplyChanges(void)
|
void PM_ApplyChanges(void)
|
||||||
|
|
Loading…
Reference in a new issue