[Commits] [wesnoth/wesnoth] 4d537c: Fixup 228b97108cc5

GitHub noreply at github.com
Sat Sep 2 14:38:08 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 4d537cca3b8174f376c4ebf3a6c06b39b27c4ff6
      https://github.com/wesnoth/wesnoth/commit/4d537cca3b8174f376c4ebf3a6c06b39b27c4ff6
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-09-03 (Sun, 03 Sep 2017)

  Changed paths:
    M src/actions/attack.cpp

  Log Message:
  -----------
  Fixup 228b97108cc5

strcmp returns 0 if the string matches, which is bool false. We need != to get the same bool true result.





More information about the Commits mailing list