mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
Uses FS builtins, so no hardcoded filesystem stuff, so it compiles as a QVM. That load/save bug is also gone.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1632 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
673a336982
commit
17144eaf9e
1 changed files with 4 additions and 2 deletions
|
@ -982,6 +982,7 @@ void Hud_Load(char *fname)
|
|||
int len;
|
||||
int i;
|
||||
int handle;
|
||||
int ver;
|
||||
|
||||
float x, y, sx, sy, a;
|
||||
int type, subtype;
|
||||
|
@ -1002,9 +1003,10 @@ void Hud_Load(char *fname)
|
|||
|
||||
p = file;
|
||||
|
||||
if (GetInteger(&p, handle) != HUD_VERSION)
|
||||
ver = GetInteger(&p, handle);
|
||||
if (ver != HUD_VERSION)
|
||||
{
|
||||
Con_Printf("Hud version doesn't match\n");
|
||||
Con_Printf("Hud version doesn't match (%i != %i)\n", ver, HUD_VERSION);
|
||||
return;
|
||||
}
|
||||
numelements = GetInteger(&p, handle);
|
||||
|
|
Loading…
Reference in a new issue