Commit MetaInfo

Revision7227145fbbff3e890051495997b1853904ad1899 (tree)
Time2021-10-09 00:02:22
AuthorAdam Kaminski <kaminskiadam9@gmai...>
CommiterAdam Kaminski

Log Message

Fixed some misleading comments.

Change Summary

Incremental Difference

diff -r 8e22700e7d43 -r 7227145fbbff src/p_interaction.cpp
--- a/src/p_interaction.cpp Fri Oct 08 09:47:47 2021 -0400
+++ b/src/p_interaction.cpp Fri Oct 08 11:02:22 2021 -0400
@@ -2814,7 +2814,7 @@
28142814 //
28152815 void PLAYER_SetPoints( player_t *pPlayer, ULONG ulPoints )
28162816 {
2817- // Set the player's fragcount.
2817+ // Set the player's point count.
28182818 pPlayer->lPointCount = ulPoints;
28192819
28202820 // Refresh the HUD since a score has changed.
@@ -2822,7 +2822,7 @@
28222822
28232823 if ( NETWORK_GetState( ) == NETSTATE_SERVER )
28242824 {
2825- // If we're the server, notify the clients of the win count change.
2825+ // If we're the server, notify the clients of the point count change.
28262826 SERVERCOMMANDS_SetPlayerPoints( static_cast<ULONG>( pPlayer - players ));
28272827
28282828 // Also, update the scoreboard.
@@ -2835,7 +2835,7 @@
28352835 //
28362836 void PLAYER_SetWins( player_t *pPlayer, ULONG ulWins )
28372837 {
2838- // Set the player's fragcount.
2838+ // Set the player's win count.
28392839 pPlayer->ulWins = ulWins;
28402840
28412841 // Refresh the HUD since a score has changed.
Show on old repository browser