Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-03-02 22:55:30 +0000
committerStijn Buys <ingar@osirion.org>2008-03-02 22:55:30 +0000
commite379b1bfeb231716e07f0e4ae9ef024be9bfd08f (patch)
tree6258754959e820a9a94726a4b1a119c301581111 /src/core/entity.cc
parent6e08b92bd4f3e32fdf550f0a3e950e3101a1b06f (diff)
added target_engine support
Diffstat (limited to 'src/core/entity.cc')
-rw-r--r--src/core/entity.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/entity.cc b/src/core/entity.cc
index 2a0518a..097b322 100644
--- a/src/core/entity.cc
+++ b/src/core/entity.cc
@@ -61,6 +61,8 @@ void Entity::remove(unsigned int id)
if (it != registry.end()) {
delete((*it).second);
registry.erase(it);
+ } else {
+ con_warn << "Could not remove entity " << id << "!\n";
}
}