fixing gcc warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@216 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
fa84839011
commit
c0c41a92f5
1 changed files with 3 additions and 3 deletions
|
@ -4713,7 +4713,7 @@ void FloodAreaConnections (void)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
qboolean CMQ2_SetAreaPortalState (int portalnum, qboolean open)
|
void CMQ2_SetAreaPortalState (int portalnum, qboolean open)
|
||||||
{
|
{
|
||||||
if (mapisq3)
|
if (mapisq3)
|
||||||
Host_Error ("CMQ2_SetAreaPortalState on q3 map");
|
Host_Error ("CMQ2_SetAreaPortalState on q3 map");
|
||||||
|
@ -4721,11 +4721,11 @@ qboolean CMQ2_SetAreaPortalState (int portalnum, qboolean open)
|
||||||
Host_Error ("areaportal > numareaportals");
|
Host_Error ("areaportal > numareaportals");
|
||||||
|
|
||||||
if (portalopen[portalnum] == open)
|
if (portalopen[portalnum] == open)
|
||||||
return false;
|
return;
|
||||||
portalopen[portalnum] = open;
|
portalopen[portalnum] = open;
|
||||||
FloodAreaConnections ();
|
FloodAreaConnections ();
|
||||||
|
|
||||||
return true;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMQ3_SetAreaPortalState (int area1, int area2, qboolean open)
|
void CMQ3_SetAreaPortalState (int area1, int area2, qboolean open)
|
||||||
|
|
Loading…
Reference in a new issue