attempt to update the openportal builtin to work with q3 as well.
ignore sound() calls with empty sound names. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4675 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
50f80352c3
commit
c841b4fbd1
4 changed files with 54 additions and 7 deletions
|
@ -6154,7 +6154,7 @@ static void FloodAreaConnections (void)
|
|||
void VARGS CMQ2_SetAreaPortalState (int portalnum, qboolean open)
|
||||
{
|
||||
if (mapisq3)
|
||||
Host_Error ("CMQ2_SetAreaPortalState on q3 map");
|
||||
return;
|
||||
if (portalnum > numareaportals)
|
||||
Host_Error ("areaportal > numareaportals");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue