• 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

Revisiónf9fa0270195b495b44b556d6920fb420e780cd37 (tree)
Tiempo2021-10-04 01:38:58
AutorAdam Kaminski <kaminskiadam9@gmai...>
CommiterAdam Kaminski

Log Message

This check should be added to DLevelScript::ThingCount too.

Cambiar Resumen

Diferencia incremental

diff -r 7a6fc59e841b -r f9fa0270195b src/p_acs.cpp
--- a/src/p_acs.cpp Thu Sep 30 20:37:32 2021 -0400
+++ b/src/p_acs.cpp Sun Oct 03 12:38:58 2021 -0400
@@ -3827,7 +3827,9 @@
38273827 while ( (actor = iterator.Next ()) )
38283828 {
38293829 if (actor->health > 0 &&
3830- (kind == NULL || actor->IsA (kind)))
3830+ (kind == NULL || actor->IsA (kind)) &&
3831+ // [AK] Don't count actors hidden by HideOrDestroyIfSafe().
3832+ ((actor->STFlags & STFL_HIDDEN_INSTEAD_OF_DESTROYED) == false))
38313833 {
38323834 if (actor->Sector->tag == tag || tag == -1)
38333835 {