diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-08-28 15:06:46 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-08-28 15:06:46 +0400 |
commit | 116001ac34ca468bb49451f995cca3158c7e7c1b (patch) | |
tree | 4ac6c82208cd2a0e63ac5476472c6ee28bdd8a50 /source/gameengine/Ketsji/KX_RaySensor.cpp | |
parent | bf7387b2d8a00d046dc99425dc602e67bc5aef0a (diff) |
more fix for compilation problem with KX_RayCast::Callback template in gcc
Diffstat (limited to 'source/gameengine/Ketsji/KX_RaySensor.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_RaySensor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_RaySensor.cpp b/source/gameengine/Ketsji/KX_RaySensor.cpp index f62df542be5..57101b769ea 100644 --- a/source/gameengine/Ketsji/KX_RaySensor.cpp +++ b/source/gameengine/Ketsji/KX_RaySensor.cpp @@ -243,7 +243,8 @@ bool KX_RaySensor::Evaluate(CValue* event) PHY_IPhysicsEnvironment* physics_environment = this->m_scene->GetPhysicsEnvironment(); - KX_RayCast::RayTest(physics_environment, frompoint, topoint, KX_RayCast::Callback<KX_RaySensor>(this, spc)); + KX_RayCast::Callback<KX_RaySensor> callback(this, spc); + KX_RayCast::RayTest(physics_environment, frompoint, topoint, callback); /* now pass this result to some controller */ |