Additional casting work.

This commit is contained in:
mfeemster
2014-12-07 00:59:26 -08:00
parent 623d417f0f
commit fad9206229
3 changed files with 618 additions and 618 deletions

View File

@ -185,7 +185,7 @@ public:
//If this xform was already part of a different ember, then do not assign, else do.
if (!m_ParentEmber && (typeid(T) == typeid(U)))
m_ParentEmber = static_cast<Ember<T>*>(xform.ParentEmber());
m_ParentEmber = reinterpret_cast<Ember<T>*>(xform.ParentEmber());
CopyVec<T, U>(m_Xaos, xform.XaosVec());
CopyVec(m_Motion, xform.m_Motion);