diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-05-08 18:12:26 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-05-08 18:12:26 -0400 |
| commit | 897f043575ae2cdf0f3c990b9fa23ba5a750fd58 (patch) | |
| tree | 0651b09930c357a4e6fd8531374f51a705a11678 /src/d/d_cc_s.cpp | |
| parent | d10b2b4bd70896e02b0b6b30f6ff7e4bbdf157f8 (diff) | |
Document some more enum value names
Diffstat (limited to 'src/d/d_cc_s.cpp')
| -rw-r--r-- | src/d/d_cc_s.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_cc_s.cpp b/src/d/d_cc_s.cpp index 06f4ae48..337b5ece 100644 --- a/src/d/d_cc_s.cpp +++ b/src/d/d_cc_s.cpp @@ -327,7 +327,7 @@ void dCcS::ProcAtTgHitmark(bool, bool, cCcD_Obj* atObj, cCcD_Obj* tgObj, dCcD_GO dKy_SordFlush_set(*pos, 1); } } else { - if (tgInf->GetTgHitMark() == 0) { return; } + if (tgInf->GetTgHitMark() == dCcG_TgHitMark_None_e) { return; } dKy_SordFlush_set(*pos, 0); csXyz angle; CalcParticleAngle(atInf, atStts, tgStts, &angle); @@ -353,7 +353,7 @@ void dCcS::SetAtTgGObjInf(bool i_setAt, bool i_setTg, atObjInf->SetAtHitPos(*i_hitPos); atObjInf->SetAtRVec(*tgObjInf->GetTgVecP()); - if (atGStts != NULL && atGStts->GetTgSpl() == 0) { + if (atGStts != NULL && atGStts->GetTgSpl() == dCcG_Tg_Spl_UNK0) { atGStts->SetTgSpl(tgObjInf->GetTgSpl()); } |
