fixed segfault bug in Engine::Object::draw() with stray semicolon after if()

git-svn-id: svn://anubis/anaglym/trunk@243 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
Josh Holtrop 2010-02-11 16:02:57 +00:00
parent 457474b6c1
commit 9edf3c2fce

View File

@ -1536,7 +1536,7 @@ void Engine::Object::setTexture(GLuint tex)
void Engine::Object::draw()
{
if (!m_is_reference && m_is_visible);
if (!m_is_reference && m_is_visible)
{
checkGLError();
const dReal * pos = m_ode_object->getPosition();