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:
parent
213133c705
commit
97f44b64fc
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue