1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2005-11-30 01:06:02 +00:00
parent 673a336982
commit 17144eaf9e

View file

@ -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);