• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqtwindows誰得cocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

This is a fork of Zandronum for Mac Os (M1 and Intel)


Commit MetaInfo

Revision92974dc7a16e7d1f65bc55d463f7d3fd4d36a5bd (tree)
Time2007-08-14 23:09:44
AuthorBrad Carney <bmc431@gmai...>
CommiterBrad Carney

Log Message

- Clients are now informed of a bot's team when a bot is added in team games.

SVN r602 (trunk)

Change Summary

Incremental Difference

diff -r c800d3060213 -r 92974dc7a16e docs/Skulltag Version History.txt
--- a/docs/Skulltag Version History.txt Tue Aug 14 13:08:53 2007 +0000
+++ b/docs/Skulltag Version History.txt Tue Aug 14 14:09:44 2007 +0000
@@ -108,6 +108,7 @@
108108 - - Fixed: Clients picking up dehacked items aren't always told the correct item amount online. [Torr Samaho]
109109 - - 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]
110110 - - 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]
111112 ! - Skulltag's invasion spawners are now defined in skulltag.pk3. [Carnevil]
112113 ! - You can no longer exit a map during the countdown in survival invasion. [Carnevil]
113114 ! - Starting a new game from the main menu now disables multiplayer emulation and resets dmflags. [Carnevil]
diff -r c800d3060213 -r 92974dc7a16e src/bots.cpp
--- a/src/bots.cpp Tue Aug 14 13:08:53 2007 +0000
+++ b/src/bots.cpp Tue Aug 14 14:09:44 2007 +0000
@@ -2996,6 +2996,11 @@
29962996
29972997 // Now send out the player's userinfo out to other players.
29982998 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 );
29993004 }
30003005
30013006 g_bBotIsInitialized[ulPlayerNum] = true;