From 441a91d5409c1fb8dfead2dae3d3e1bd26ecbafb Mon Sep 17 00:00:00 2001 From: Steve Date: Fri, 29 Apr 2016 12:12:12 +0100 Subject: [PATCH] Logging update. --- src/battle/entities.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/battle/entities.c b/src/battle/entities.c index 9fd89dc..7dd1550 100644 --- a/src/battle/entities.c +++ b/src/battle/entities.c @@ -539,8 +539,10 @@ void activateEntityGroups(char *groupNames) { if (strcmp(e->groupName, groupName) == 0) { + SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "Activated %s (%s)", e->name, groupName); + e->active = 1; - + if (e->type == ET_CAPITAL_SHIP) { updateCapitalShipComponentProperties(e, 0);