mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-29 07:02:12 +00:00
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:
parent
3b1ac20640
commit
ef3c7621af
2 changed files with 12 additions and 4 deletions
|
@ -989,9 +989,11 @@ void SV_SpawnServer (char *server, char *startspot, qboolean noents, qboolean us
|
||||||
{
|
{
|
||||||
case GT_MAX:
|
case GT_MAX:
|
||||||
break;
|
break;
|
||||||
#ifdef VM_Q1
|
|
||||||
case GT_Q1QVM:
|
case GT_Q1QVM:
|
||||||
|
#ifdef VM_Q1
|
||||||
|
// FIXME: missing code here?
|
||||||
#endif
|
#endif
|
||||||
|
break;
|
||||||
case GT_PROGS:
|
case GT_PROGS:
|
||||||
ent = EDICT_NUM(svprogfuncs, 0);
|
ent = EDICT_NUM(svprogfuncs, 0);
|
||||||
ent->isfree = false;
|
ent->isfree = false;
|
||||||
|
@ -1205,9 +1207,11 @@ void SV_SpawnServer (char *server, char *startspot, qboolean noents, qboolean us
|
||||||
{
|
{
|
||||||
case GT_MAX:
|
case GT_MAX:
|
||||||
break;
|
break;
|
||||||
#ifdef VM_Q1
|
|
||||||
case GT_Q1QVM:
|
case GT_Q1QVM:
|
||||||
|
#ifdef VM_Q1
|
||||||
|
// FIXME: missing code here?
|
||||||
#endif
|
#endif
|
||||||
|
break;
|
||||||
case GT_PROGS:
|
case GT_PROGS:
|
||||||
pr_edict_size = PR_LoadEnts(svprogfuncs, file, spawnflagmask);
|
pr_edict_size = PR_LoadEnts(svprogfuncs, file, spawnflagmask);
|
||||||
break;
|
break;
|
||||||
|
@ -1228,9 +1232,11 @@ void SV_SpawnServer (char *server, char *startspot, qboolean noents, qboolean us
|
||||||
{
|
{
|
||||||
case GT_MAX:
|
case GT_MAX:
|
||||||
break;
|
break;
|
||||||
#ifdef VM_Q1
|
|
||||||
case GT_Q1QVM:
|
case GT_Q1QVM:
|
||||||
|
#ifdef VM_Q1
|
||||||
|
// FIXME: missing code here?
|
||||||
#endif
|
#endif
|
||||||
|
break;
|
||||||
case GT_PROGS:
|
case GT_PROGS:
|
||||||
pr_edict_size = PR_LoadEnts(svprogfuncs, sv.worldmodel->entities, spawnflagmask);
|
pr_edict_size = PR_LoadEnts(svprogfuncs, sv.worldmodel->entities, spawnflagmask);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -420,9 +420,11 @@ void SV_DropClient (client_t *drop)
|
||||||
{
|
{
|
||||||
case GT_MAX:
|
case GT_MAX:
|
||||||
break;
|
break;
|
||||||
#ifdef VM_Q1
|
|
||||||
case GT_Q1QVM:
|
case GT_Q1QVM:
|
||||||
|
#ifdef VM_Q1
|
||||||
|
// FIXME: missing code here?
|
||||||
#endif
|
#endif
|
||||||
|
break;
|
||||||
case GT_PROGS:
|
case GT_PROGS:
|
||||||
if (svprogfuncs)
|
if (svprogfuncs)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue