mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-29 23:22:01 +00:00
A couple of bugfixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1863 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
f0feb82b90
commit
d6c9c70108
2 changed files with 8 additions and 2 deletions
|
@ -119,8 +119,9 @@ cvar_group_t *Cvar_GetGroup(const char *gname)
|
|||
if (g)
|
||||
return g;
|
||||
|
||||
g = (cvar_group_t*)Z_Malloc(sizeof(cvar_group_t));
|
||||
g->name = (char*)gname;
|
||||
g = (cvar_group_t*)Z_Malloc(sizeof(cvar_group_t) + strlen(gname)+1);
|
||||
g->name = (char*)(g+1);
|
||||
strcpy(g->name, gname);
|
||||
g->next = NULL;
|
||||
g->next = cvar_groups;
|
||||
cvar_groups = g;
|
||||
|
|
|
@ -62,6 +62,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
#define PEXT_DPFLAGS 0x80000000 //extra flags for viewmodel/externalmodel and possible other persistant style flags.
|
||||
|
||||
#ifdef CSQC_DAT
|
||||
#define PEXT_BIGUSERINFOS PEXT_CSQC
|
||||
#else
|
||||
#define PEXT_BIGUSERINFOS 0xffffffff
|
||||
#endif
|
||||
|
||||
//ZQuake transparent protocol extensions.
|
||||
#define Z_EXT_PM_TYPE (1<<0) // basic PM_TYPE functionality (reliable jump_held)
|
||||
|
|
Loading…
Reference in a new issue