Permalink
Browse files

fixed a bug with new players not being added properly with MAPOPT_CUS…

…TOMFORCES

git-svn-id: http://ghostplusplus.googlecode.com/svn/trunk@541 a7494f72-a4b0-11dd-a887-7ffe1a420f8d
  • Loading branch information...
1 parent a540eec commit e5fa098312563c24e2a7fe2724b5437567289a47 xXZyZXx@gmail.com committed Jul 16, 2010
Showing with 1 addition and 1 deletion.
  1. BIN ghost.exe
  2. +1 −1 ghost/game_base.cpp
View
BIN ghost.exe
Binary file not shown.
View
@@ -2011,7 +2011,7 @@ void CBaseGame :: EventPlayerJoined( CPotentialPlayer *potential, CIncomingJoinP
m_Slots[SID] = EnforceSlot;
else
{
- if( m_Map->GetMapOptions( ) & MAPOPT_FIXEDPLAYERSETTINGS )
+ if( m_Map->GetMapOptions( ) & MAPOPT_CUSTOMFORCES )
m_Slots[SID] = CGameSlot( Player->GetPID( ), 255, SLOTSTATUS_OCCUPIED, 0, m_Slots[SID].GetTeam( ), m_Slots[SID].GetColour( ), m_Slots[SID].GetRace( ) );
else
{

0 comments on commit e5fa098

Please sign in to comment.