diff options
| author | jacob1 <jfu614@gmail.com> | 2013-02-08 16:52:59 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-02-08 16:52:59 (GMT) |
| commit | 7ce34ad732dc22326dfbbde54b9cf46ec366c480 (patch) | |
| tree | 3b68a0e14386984907a76e14531025ddb7311764 | |
| parent | cd0af92fb316a3e3dc2de7082512ff2d650e7a70 (diff) | |
| download | powder-7ce34ad732dc22326dfbbde54b9cf46ec366c480.zip powder-7ce34ad732dc22326dfbbde54b9cf46ec366c480.tar.gz | |
one more small thing: show gravity in debug mode hud even when it's a small value
| -rw-r--r-- | src/game/GameView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp index 6312f4a..5c7d0be 100644 --- a/src/game/GameView.cpp +++ b/src/game/GameView.cpp @@ -2054,7 +2054,7 @@ void GameView::OnDraw() sampleInfo << "#" << sample.ParticleID << ", "; } sampleInfo << "X:" << sample.PositionX << " Y:" << sample.PositionY; - if (std::abs(sample.Gravity) > 0.1f) + if (sample.Gravity) sampleInfo << " GX: " << sample.GravityVelocityX << " GY: " << sample.GravityVelocityY; textWidth = Graphics::textwidth((char*)sampleInfo.str().c_str()); |
