vfs fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1775 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
45e1818911
commit
44d7f0d5c9
1 changed files with 2 additions and 2 deletions
|
@ -2135,7 +2135,7 @@ void COM_CheckRegistered (void)
|
|||
unsigned short check[128];
|
||||
int i;
|
||||
|
||||
h = FS_OpenVFS("gfx/pop.lmp", "r", FS_GAME);
|
||||
h = FS_OpenVFS("gfx/pop.lmp", "rb", FS_GAME);
|
||||
static_registered = false;
|
||||
|
||||
if (!h)
|
||||
|
@ -2627,7 +2627,7 @@ void Info_SetValueForStarKey (char *s, const char *key, const char *value, int m
|
|||
return;
|
||||
}
|
||||
|
||||
if (strlen(key) >= MAX_INFO_KEY || strlen(value) >= MAX_INFO_KEY)
|
||||
if (strlen(key) >= MAX_INFO_KEY)// || strlen(value) >= MAX_INFO_KEY)
|
||||
{
|
||||
Con_TPrintf (TL_KEYTOOLONG);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue