behdad / box2d

Automatically exported from code.google.com/p/box2d
2 stars 12 forks source link

Redundant code in Island.cpp #190

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The lines (from 336-340 in Island.cpp):

if ((b->m_flags & b2Body::e_autoSleepFlag) == 0)
{
    b->m_sleepTime = 0.0f;
    minSleepTime = 0.0f;
}

are included in the lines below it.

Original issue reported on code.google.com by Qvist...@gmail.com on 9 Apr 2011 at 1:51

GoogleCodeExporter commented 9 years ago
Rev 190

Original comment by erinca...@gmail.com on 26 Jun 2011 at 7:32