Logging update.

This commit is contained in:
Steve 2016-04-29 12:12:12 +01:00
parent 9006f15afe
commit 441a91d540
1 changed files with 3 additions and 1 deletions

View File

@ -539,8 +539,10 @@ void activateEntityGroups(char *groupNames)
{ {
if (strcmp(e->groupName, groupName) == 0) 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; e->active = 1;
if (e->type == ET_CAPITAL_SHIP) if (e->type == ET_CAPITAL_SHIP)
{ {
updateCapitalShipComponentProperties(e, 0); updateCapitalShipComponentProperties(e, 0);