diff options
Diffstat (limited to 'src/game/GameView.cpp')
| -rw-r--r-- | src/game/GameView.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp index 8b7ee2e..3955c67 100644 --- a/src/game/GameView.cpp +++ b/src/game/GameView.cpp @@ -2004,6 +2004,8 @@ void GameView::OnDraw() sampleInfo << "#" << sample.ParticleID << ", "; } sampleInfo << "X:" << sample.PositionX << " Y:" << sample.PositionY; + if (std::abs(sample.Gravity) > 0.1f) + sampleInfo << " GX: " << sample.GravityVelocityX << " GY: " << sample.GravityVelocityY; textWidth = Graphics::textwidth((char*)sampleInfo.str().c_str()); g->fillrect(XRES-20-textWidth, 26, textWidth+8, 15, 0, 0, 0, 255*0.5); |
