This is a fork of Zandronum Beta for Mac Os (Silicon and Intel)
リビジョン | 3d1dc73737a3cb34b9fa1746335954ea724238bb (tree) |
---|---|
日時 | 2022-12-15 23:21:49 |
作者 | Adam Kaminski <kaminskiadam9@gmai...> |
コミッター | Adam Kaminski |
Spectators are now allowed to keep spying on other actors when sv_disallowspying is enabled.
@@ -519,7 +519,8 @@ | ||
519 | 519 | if (self & DF2_DISALLOW_SPYING) |
520 | 520 | { |
521 | 521 | // The player isn't looking through its own eyes, so make it. |
522 | - if (p->camera != p->mo) | |
522 | + // [AK] Allow spectators to keep spying on other actors. | |
523 | + if ((p->camera != p->mo) && p->bSpectating == false) | |
523 | 524 | { |
524 | 525 | p->camera = p->mo; |
525 | 526 |