Improve warning message

This commit is contained in:
Gunter Labes 2021-06-05 19:52:42 +02:00
parent 1b533634fb
commit 8e323434ca
No known key found for this signature in database
GPG key ID: C0C7B971CC910216

View file

@ -2223,7 +2223,7 @@ void unit::apply_builtin_effect(std::string apply_to, const config& effect)
heal_fully();
}
} else {
WRN_UT << "unknown type= in [effect]apply_to=type, ignoring" << std::endl;
WRN_UT << "unknown type '" << new_type_id << "' (name=) in [effect]apply_to=type, ignoring" << std::endl;
}
}
}