mirror of
https://github.com/fortressforever/fortressforever-2013.git
synced 2024-11-29 07:32:39 +00:00
spawn only at spawns w/ same teamnum as me, temporary thing until lua is rigged up
(also doesnt work on first spawn cuz hl2dm code :P)
This commit is contained in:
parent
e9669129a7
commit
e50273e024
1 changed files with 4 additions and 0 deletions
|
@ -1356,7 +1356,11 @@ bool CFF_SH_Rules::IsSpawnPointValid( CBaseEntity *pSpot, CBasePlayer *pPlayer
|
|||
if ( !pFFPlayer )
|
||||
return false;
|
||||
|
||||
|
||||
// FF TODO: run lua predicate against spot
|
||||
// in meantime: check team
|
||||
if ( pSpot->GetTeamNumber( ) != pFFPlayer->GetTeamNumber( ) )
|
||||
return false;
|
||||
/*
|
||||
CFFLuaSC hAllowed;
|
||||
hAllowed.Push( pFFPlayer );
|
||||
|
|
Loading…
Reference in a new issue