Closed bnoazx005 closed 4 years ago
CComponentManager::RemoveComponent works incorrectly and removes component of another type than given one
Win 10 (x64) / Visual Studio 2017 / TDEngine2-v0.4 / NVidia GTX 860M in GL3.x mode
CComponentManager::RemoveComponent should delete a component of given type if it exists on given entity
CComponentManager::RemoveComponent removes some other component of a given entity
Fixed in 6101069a43df4f2beeb282527b086ec358308217
Bug report
CComponentManager::RemoveComponent works incorrectly and removes component of another type than given one
Environment
Win 10 (x64) / Visual Studio 2017 / TDEngine2-v0.4 / NVidia GTX 860M in GL3.x mode
Steps to reproduce the issue
What's the expected result?
CComponentManager::RemoveComponent should delete a component of given type if it exists on given entity
What's the actual result?
CComponentManager::RemoveComponent removes some other component of a given entity