[Commits] [wesnoth/wesnoth] 084dfc: make victory event fire on proceed_to_nextlevel
GitHub
noreply at github.com
Tue Jul 19 11:16:21 UTC 2016
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 084dfc9887c96b3bc1f238123a97356af1659751
https://github.com/wesnoth/wesnoth/commit/084dfc9887c96b3bc1f238123a97356af1659751
Author: gfgtdf <daniel.gfgtdf at gmail.com>
Date: 2016-07-19 (Tue, 19 Jul 2016)
Changed paths:
M src/playsingle_controller.cpp
Log Message:
-----------
make victory event fire on proceed_to_nextlevel
This changes the behaviour of victory event so that they are now also fored when there is at least one human that is victorious, for sp and for coop mp scenarios the conditions when victory is fired is the same as before, in non-coop mp games the victory event will now also be fired whenever there is any human side that wins, since such scenarios usually don't use victory events this is not tha much of an issue. For those cases i added the 'local_victory' event (maybe if people want to print congratulation messages in their mp maps or similar)
The reason for this change is that now, since victory events fire on all client the same ,way we can mark them as synced, this specially fixes issues with invalid unit ids of units created suring victory events in sp.
More information about the Commits
mailing list