mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 22:17:52 +00:00

The main reason for moving this to a separate function was to make the per-event variables local to that function. (cherry picked from commit 7e69da7f68b10bdf231ebb785b3c73109dc378a8)