[wesnoth-commits] [wesnoth/wesnoth] d6e0d4: Try to fix the issues with wesnoth.game_events.on_...

Celtic Minstrel noreply at github.com
Thu Jun 24 17:53:30 UTC 2021


  Branch: refs/heads/lua_mouse_action
  Home:   https://github.com/wesnoth/wesnoth
  Commit: d6e0d4d1828d30ca02a4fed64316c492e6f5e3f8
      https://github.com/wesnoth/wesnoth/commit/d6e0d4d1828d30ca02a4fed64316c492e6f5e3f8
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-24 (Thu, 24 Jun 2021)

  Changed paths:
    M src/mouse_events.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp

  Log Message:
  -----------
  Try to fix the issues with wesnoth.game_events.on_mouse_action

- Save the clicked hex to ensure the action definitely applies on the same hex that was clicked
- on_mouse_action can now return a location, which will be used instead of the hex that was clicked





More information about the Commits mailing list