3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-27 21:15:27 +02:00

assert NULL EntityItem::_physicsInfo in dtor

This commit is contained in:
Andrew Meadows 2014-12-29 15:27:54 -08:00
parent 213133c705
commit 97f44b64fc

View file

@ -115,6 +115,8 @@ EntityItem::EntityItem(const EntityItemID& entityItemID, const EntityItemPropert
}
EntityItem::~EntityItem() {
// be sure to clean up _physicsInfo before calling this dtor
assert(_physicsInfo == NULL);
}
EntityPropertyFlags EntityItem::getEntityProperties(EncodeBitstreamParams& params) const {