This is a fork of Zandronum for Mac Os (Silicon and Intel)
Revision | 92974dc7a16e7d1f65bc55d463f7d3fd4d36a5bd (tree) |
---|---|
Time | 2007-08-14 23:09:44 |
Author | Brad Carney <bmc431@gmai...> |
Commiter | Brad Carney |
- Clients are now informed of a bot's team when a bot is added in team games.
SVN r602 (trunk)
@@ -108,6 +108,7 @@ | ||
108 | 108 | - - Fixed: Clients picking up dehacked items aren't always told the correct item amount online. [Torr Samaho] |
109 | 109 | - - Changed: The positions of all actors with the MF3 flag ISMONSTER are now updated online. This fixes problems for example with NeoDoom (mouse) and Njzd2001.wad (super imp). [Torr Samaho] |
110 | 110 | - - Partially fixed: SetPlayerProperty not working properly online. [Torr Samaho] |
111 | +- - Clients are now informed of a bot's team when a bot is added in team games. [Carnevil] | |
111 | 112 | ! - Skulltag's invasion spawners are now defined in skulltag.pk3. [Carnevil] |
112 | 113 | ! - You can no longer exit a map during the countdown in survival invasion. [Carnevil] |
113 | 114 | ! - Starting a new game from the main menu now disables multiplayer emulation and resets dmflags. [Carnevil] |
@@ -2996,6 +2996,11 @@ | ||
2996 | 2996 | |
2997 | 2997 | // Now send out the player's userinfo out to other players. |
2998 | 2998 | SERVERCOMMANDS_SetPlayerUserInfo( ulPlayerNum, USERINFO_ALL ); |
2999 | + | |
3000 | + // If this player is on a team, tell all the other clients that a team has | |
3001 | + // been selected for him. | |
3002 | + if ( m_pPlayer->bOnTeam ) | |
3003 | + SERVERCOMMANDS_SetPlayerTeam( ulPlayerNum ); | |
2999 | 3004 | } |
3000 | 3005 | |
3001 | 3006 | g_bBotIsInitialized[ulPlayerNum] = true; |