Allow flag to be placed on driveable object (for ctf temple)
This commit is contained in:
parent
b26d8f3454
commit
693a3bc954
@ -2492,6 +2492,10 @@ Vec3 Track::flagCommand(const XMLNode *node)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
m_track_object_manager->castRay
|
||||||
|
(loc, loc + (-10000 * quad_normal), &hit_point, &m, &normal,
|
||||||
|
/*interpolate*/false);
|
||||||
|
|
||||||
const std::string &name = node->getName();
|
const std::string &name = node->getName();
|
||||||
if (name == "red-flag")
|
if (name == "red-flag")
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user