[wesnoth-commits] [wesnoth/wesnoth] 538a17: Fix inverted logic in working out which resources ...

Steve Cotton noreply at github.com
Fri Sep 4 11:59:44 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 538a172079a5b65b4ee23c8299d0bac63dfb46bf
      https://github.com/wesnoth/wesnoth/commit/538a172079a5b65b4ee23c8299d0bac63dfb46bf
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2020-09-04 (Fri, 04 Sep 2020)

  Changed paths:
    M src/game_classification.cpp

  Log Message:
  -----------
  Fix inverted logic in working out which resources are active (#5127)

This line is meant to skip the rest of the loop for things that have previously
been inserted in to loaded_resources; but instead it skipped the rest of the
loop unless the id was already in loaded_resources. Fixes #5126.





More information about the Commits mailing list