This is a fork of Zandronum used on servers hosted by The Sentinels Playground (TSPG).
Revision | 3d653fcb7a1d051ccd1289023e04a7d31028a28b (tree) |
---|---|
Time | 2021-09-25 13:37:05 |
Author | Adam Kaminski <kaminskiadam9@gmai...> |
Commiter | Adam Kaminski |
Fixed a server crash.
@@ -3358,7 +3358,7 @@ | ||
3358 | 3358 | return; |
3359 | 3359 | |
3360 | 3360 | // [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 )) | |
3362 | 3362 | return; |
3363 | 3363 | |
3364 | 3364 | // [BB] If the actor doesn't have a NetID, we have to instruct the clients differently how to play the sound. |