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>2012-11-18 17:06:26 +0000
committerStijn Buys <ingar@osirion.org>2012-11-18 17:06:26 +0000
commit4271b3007fe88c812f7057716aa257cd499e940f (patch)
tree67ce31493d5be2b10f7bc925bb53ba67d80ebd31 /src/core/entity.cc
parent4c45315c9f76bc32e1015a2a2bd9b3ae635023a7 (diff)
Corrected a small bug in Entity::print().
Diffstat (limited to 'src/core/entity.cc')
-rw-r--r--src/core/entity.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/entity.cc b/src/core/entity.cc
index 70d3a4f..a53f8b8 100644
--- a/src/core/entity.cc
+++ b/src/core/entity.cc
@@ -247,8 +247,7 @@ void Entity::print() const
print_header();
// print entity flags
- con_print << " flags ^B";
-
+ con_print << " flags ^B";
if (has_flag(NonSolid)) {
con_print << " nonsolid";
}
@@ -264,6 +263,7 @@ void Entity::print() const
if (has_flag(KeepAlive)) {
con_print << " keepalive";
}
+ con_print << std::endl;
}
void Entity::print_header() const