aboutsummaryrefslogtreecommitdiff
path: root/client/helloworld/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/helloworld/main.c')
-rw-r--r--client/helloworld/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/helloworld/main.c b/client/helloworld/main.c
index 6c46ed0..8b3486b 100644
--- a/client/helloworld/main.c
+++ b/client/helloworld/main.c
@@ -98,8 +98,9 @@ static void handle_event(const ac_event_t *event) {
}
case AC_EVENT_ENTITY_DEATH: {
ac_event_entity_death_t *o = (ac_event_entity_death_t *) event;
- printf("Entity '%s' died at %s(%.2f, %.2f, %.2f): %s.\n",
+ printf("Entity '%s' (%s) died at %s(%.2f, %.2f, %.2f): %s.\n",
o->entity.name,
+ o->entity.type,
world_name(o->entity.world),
o->entity.pos.x,
o->entity.pos.y,