[Commits] [wesnoth/wesnoth] f941c7: enable undo recruits/recalls if no rng was used
GitHub
noreply at github.com
Sat Apr 12 17:57:10 UTC 2014
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: f941c700810199a585f446272d184fbabf0ed879
https://github.com/wesnoth/wesnoth/commit/f941c700810199a585f446272d184fbabf0ed879
Author: gfgtdf <tischpapier at gmail.com>
Date: 2014-04-12 (Sat, 12 Apr 2014)
Changed paths:
M src/actions/create.cpp
Log Message:
-----------
enable undo recruits/recalls if no rng was used
If we used rng during an acion we can never undo it becasue it is an nonundoable information gain. Also it's technicaly impossible because in mp using rng will result in data send over the network, which cannot be undone. Wedon't need to check whether the unit had traits/names this was becasue that would also have caused rng calls.
More information about the Commits
mailing list