Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/entity.cc')
-rw-r--r--src/core/entity.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/entity.cc b/src/core/entity.cc
index 097b322..891c758 100644
--- a/src/core/entity.cc
+++ b/src/core/entity.cc
@@ -122,6 +122,7 @@ Entity::Entity(std::istream & is)
while ( (is.get(c)) && (c != '"'))
n += c;
entity_name = n;
+ n.clear();
while ( (is.get(c)) && (c != '"'));
while ( (is.get(c)) && (c != '"'))