Skip to content

Commit 56e829e

Browse files
committed
xrGame/Level_bullet_manager_firetrace.cpp: Add XXX
1 parent 7124ea7 commit 56e829e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/xrGame/Level_bullet_manager_firetrace.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
//константы ShootFactor, определяющие
2727
//поведение пули при столкновении с объектом
28+
// XXX: review
2829
#define RICOCHET_THRESHOLD 0.1
2930
#define STUCK_THRESHOLD 0.4
3031

@@ -174,12 +175,13 @@ void CBulletManager::FireShotmark(SBullet* bullet, const Fvector& vDir, const Fv
174175

175176
if (R.O)
176177
{
177-
//add_SkeletonWallmark not implemented now...
178178
particle_dir = vDir;
179179
particle_dir.invert();
180180

181-
//на текущем актере отметок не ставим
182-
if (Level().CurrentEntity() && Level().CurrentEntity()->ID() == R.O->ID()) return;
181+
// XXX: review
182+
// на текущем актере отметок не ставим
183+
if (Level().CurrentEntity() && Level().CurrentEntity()->ID() == R.O->ID())
184+
return;
183185

184186
if (mtl_pair && !mtl_pair->CollideMarks->empty() && ShowMark)
185187
{

0 commit comments

Comments
 (0)