[Commits] [wesnoth/wesnoth] be0c1a: Skip generating help sections for units without hi...
GitHub
noreply at github.com
Mon Dec 22 23:15:42 UTC 2014
Branch: refs/heads/1.12
Home: https://github.com/wesnoth/wesnoth
Commit: be0c1a36dbb09932dcb43ee8211742f8147aa624
https://github.com/wesnoth/wesnoth/commit/be0c1a36dbb09932dcb43ee8211742f8147aa624
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2014-12-22 (Mon, 22 Dec 2014)
Changed paths:
M changelog
M players_changelog
M src/dialogs.cpp
M src/editor/editor_controller.cpp
M src/help.cpp
M src/reports.cpp
M src/unit_types.cpp
M src/unit_types.hpp
Log Message:
-----------
Skip generating help sections for units without hide_help=no variations
This fixes many instances of unit types with "technical" variations in
my campaign After the Storm being assigned help sections of their own.
Required adding a new method to unit_type that's actually cheaper than
checking for variations().empty(), as it doesn't involve allocating new
objects.
More information about the Commits
mailing list