turbulenz / turbulenz_engine

Turbulenz is a modular 3D and 2D game framework for making HTML5 powered games for browsers, desktops and mobile devices.
http://turbulenz.com
MIT License
4.57k stars 513 forks source link

Fixed an infinite loop bug in _transmitBodyType() #35

Closed dkorbar closed 10 years ago

dkorbar commented 10 years ago

When setting a body as static the "setAsStatic" method sometimes gets stuck in an infinite loop. This should fix the problem.