• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

This is a fork of Zandronum used on servers hosted by The Sentinels Playground (TSPG).


Commit MetaInfo

Revision3d653fcb7a1d051ccd1289023e04a7d31028a28b (tree)
Time2021-09-25 13:37:05
AuthorAdam Kaminski <kaminskiadam9@gmai...>
CommiterAdam Kaminski

Log Message

Fixed a server crash.

Change Summary

Incremental Difference

diff -r 1c2a632122c1 -r 3d653fcb7a1d src/sv_commands.cpp
--- a/src/sv_commands.cpp Tue Sep 21 09:25:50 2021 -0400
+++ b/src/sv_commands.cpp Sat Sep 25 00:37:05 2021 -0400
@@ -3358,7 +3358,7 @@
33583358 return;
33593359
33603360 // [AK] If the actor is a player, don't tell clients to play the sound while we're backtracing their movement.
3361- if (( pActor->player ) && ( SERVER_GetClient( pActor->player - players )->bIsBacktracing ))
3361+ if (( pActor->player ) && ( pActor->player->mo == pActor ) && ( SERVER_GetClient( pActor->player - players )->bIsBacktracing ))
33623362 return;
33633363
33643364 // [BB] If the actor doesn't have a NetID, we have to instruct the clients differently how to play the sound.