Warning fixes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2768 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Molgrum 2007-10-29 06:46:04 +00:00
parent 3b1ac20640
commit ef3c7621af
2 changed files with 12 additions and 4 deletions

View File

@ -989,9 +989,11 @@ void SV_SpawnServer (char *server, char *startspot, qboolean noents, qboolean us
{
case GT_MAX:
break;
#ifdef VM_Q1
case GT_Q1QVM:
#ifdef VM_Q1
// FIXME: missing code here?
#endif
break;
case GT_PROGS:
ent = EDICT_NUM(svprogfuncs, 0);
ent->isfree = false;
@ -1205,9 +1207,11 @@ void SV_SpawnServer (char *server, char *startspot, qboolean noents, qboolean us
{
case GT_MAX:
break;
#ifdef VM_Q1
case GT_Q1QVM:
#ifdef VM_Q1
// FIXME: missing code here?
#endif
break;
case GT_PROGS:
pr_edict_size = PR_LoadEnts(svprogfuncs, file, spawnflagmask);
break;
@ -1228,9 +1232,11 @@ void SV_SpawnServer (char *server, char *startspot, qboolean noents, qboolean us
{
case GT_MAX:
break;
#ifdef VM_Q1
case GT_Q1QVM:
#ifdef VM_Q1
// FIXME: missing code here?
#endif
break;
case GT_PROGS:
pr_edict_size = PR_LoadEnts(svprogfuncs, sv.worldmodel->entities, spawnflagmask);
break;

View File

@ -420,9 +420,11 @@ void SV_DropClient (client_t *drop)
{
case GT_MAX:
break;
#ifdef VM_Q1
case GT_Q1QVM:
#ifdef VM_Q1
// FIXME: missing code here?
#endif
break;
case GT_PROGS:
if (svprogfuncs)
{