Fixed undo causing OOS in MP. Filters sent messanges from undo
This commit is contained in:
parent
ab73b8f7a9
commit
094f86cdd1
3 changed files with 5 additions and 1 deletions
|
@ -64,6 +64,8 @@ Version 1.3.12+svn:
|
|||
* loading a content with invalid wml does not terminate the game
|
||||
* increased the precission off the mouse in the top row of the editor
|
||||
(closes bug #10219)
|
||||
* Fixed networking code to filter sent items when doing undo bug
|
||||
(Need testing #10588)
|
||||
* Avoid an assertion failure triggered in the replays
|
||||
|
||||
Version 1.3.12:
|
||||
|
|
|
@ -36,6 +36,7 @@ Version 1.3.12+svn:
|
|||
* Miscellaneous and bug fixes
|
||||
* Replaced the 'Binary Saves' option with 'Compressed Saves' and now
|
||||
writes gzip files.
|
||||
* Fixed undo causing OOS in multiplayer
|
||||
* Load the recall list with a start of scenario save.
|
||||
|
||||
Version 1.3.12:
|
||||
|
|
|
@ -469,7 +469,8 @@ void replay::undo()
|
|||
std::vector<config::child_iterator> async_cmds;
|
||||
// Remember cmds not yet synced and skip over them
|
||||
while(cmd.first != cmd.second && (**(cmd.second-1))["undo"] == "no"
|
||||
|| (**(cmd.second-1))["async"] == "yes")
|
||||
|| (**(cmd.second-1))["async"] == "yes"
|
||||
|| (**(cmd.second-1))["sent"] == "yes")
|
||||
{
|
||||
if ((**(cmd.second-1))["async"] == "yes")
|
||||
async_cmds.push_back(cmd.second-1);
|
||||
|
|
Loading…
Add table
Reference in a new issue