[Commits] [wesnoth/wesnoth] e5cea3: Game Events: ensure event names are properly stand...

GitHub noreply at github.com
Thu Nov 30 00:45:11 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e5cea3516956f1efc66ead156332f4004f3a0f67
      https://github.com/wesnoth/wesnoth/commit/e5cea3516956f1efc66ead156332f4004f3a0f67
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-11-30 (Thu, 30 Nov 2017)

  Changed paths:
    M src/game_events/handlers.cpp
    M src/game_events/handlers.hpp
    M src/game_events/manager_impl.cpp

  Log Message:
  -----------
  Game Events: ensure event names are properly standardized in the config

This ensures all names are always valid to use in by-name lookup and are stored consistently.

Also fixes a potential issue in 2c12d1328ba6. I should have called standardize_name on each
name entry in the cleanup phase like when done in the registration phase, but this commit
ensures that's not needed anymore.





More information about the Commits mailing list