mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 14:20:59 +00:00
Set the default hudtype.
Yay, Deek for finding another bug in qf :). He had an old dirconf that didn't specify HudType and thus caused the status bar code to blow up. Set the default to "id" if none is found.
This commit is contained in:
parent
6f18035c12
commit
764cd91879
1 changed files with 2 additions and 0 deletions
|
@ -540,6 +540,8 @@ qfs_build_gamedir (const char **list)
|
|||
;
|
||||
gamedir->dir.def = nva ("%.*s", (int) (dir - gamedir->path),
|
||||
gamedir->path);
|
||||
if (!gamedir->hudtype)
|
||||
gamedir->hudtype = strdup ("id");
|
||||
if (!gamedir->dir.skins)
|
||||
gamedir->dir.skins = nva ("%s/skins", gamedir->dir.def);
|
||||
if (!gamedir->dir.models)
|
||||
|
|
Loading…
Reference in a new issue