[Commits] [wesnoth/wesnoth] cad1db: replace a warning with an assert.

GitHub noreply at github.com
Sat Jun 21 01:31:21 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: cad1db07d55c17833e4b308a9c303b369217f125
      https://github.com/wesnoth/wesnoth/commit/cad1db07d55c17833e4b308a9c303b369217f125
  Author: gfgtdf <tischpapier at gmail.com>
  Date:   2014-06-21 (Sat, 21 Jun 2014)

  Changed paths:
    M src/unit.cpp

  Log Message:
  -----------
  replace a warning with an assert.

the warning was a temporary because there was a bug in the code that would have caused this assertion to fail. Since that bugs was fixed, i replaced it with an assert.





More information about the Commits mailing list