This is a fork of Zandronum for TSPG.
Revisão | 163edfd342dd2304bee348dc8c4b0cae1a17f451 (tree) |
---|---|
Hora | 2017-03-19 20:01:50 |
Autor | Benjamin Berkels <torr.samaho@quan...> |
Commiter | Benjamin Berkels |
Fixed: Blood splatter caused unnecessary network traffic (partially addresses 2655).
@@ -115,6 +115,7 @@ | ||
115 | 115 | - - Fixed: When the server instructed a client to jump as result of A_Jump*, the client did not call the state function of the state jumped to. [Torr Samaho] |
116 | 116 | - - Fixed: The server didn't fully notify the clients about water splashes. [Torr Samaho] |
117 | 117 | - - Fixed a potential client crash related to the firing sound of a railgun. [Torr Samaho] |
118 | +- - Fixed: Blood splatter caused unnecessary network traffic. [Torr Samaho] | |
118 | 119 | ! - Changed: Spectators can now interact with gravity and use the fly/land commands. [Leonard] |
119 | 120 | ! - Save games now contain information about the renderer used to create the save. This allows to print a proper error message when an incompatible save is tried to be loaded. [Torr Samaho] |
120 | 121 | ! - Clients don't error out anymore when encountering a division by zero in a DECORATE expression. Instead, a one time warning is printed on the first occasion and the result is assumed to be zero. This is necessary since clients can encounter this in valid DECORATE code due to Zandronum's jump handling. [Torr Samaho] |
@@ -6621,6 +6621,15 @@ | ||
6621 | 6621 | mo->vely = pr_splatter.Random2 () << 10; |
6622 | 6622 | mo->velz = 3*FRACUNIT; |
6623 | 6623 | |
6624 | + // [BB] This is not fully synced, but handled with SERVERCOMMANDS_SpawnBloodSplatter. | |
6625 | + // In order to prevent the server from printing warnings when the server calls P_ExplodeMissile, | |
6626 | + // we also mark this as SERVERSIDEONLY. | |
6627 | + if ( NETWORK_GetState () == NETSTATE_SERVER ) | |
6628 | + { | |
6629 | + mo->ulNetworkFlags |= NETFL_SERVERSIDEONLY; | |
6630 | + mo->FreeNetID (); | |
6631 | + } | |
6632 | + | |
6624 | 6633 | // colorize the blood! |
6625 | 6634 | if (bloodcolor!=0 && !(mo->flags2 & MF2_DONTTRANSLATE)) |
6626 | 6635 | { |