From c546e8f5dcad971f57c77cff775676bc95379c86 Mon Sep 17 00:00:00 2001 From: Iurii Chernyi Date: Thu, 18 Mar 2010 17:07:09 +0000 Subject: [PATCH] Fix bug #14114: checksum operations fail against certain scenario events. Patch #1538 by lfernando --- changelog | 1 + data/core/about.cfg | 3 +++ src/replay.cpp | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/changelog b/changelog index d100ffecd24..c6c902837ae 100644 --- a/changelog +++ b/changelog @@ -5,6 +5,7 @@ Version 1.7.15+svn: Serbian, Slovak * Miscellaneous and bug fixes: * Defaulted log level to error again + * Fix bug #14114: checksum operations fail against certain scenario events Version 1.7.15-1.8rc1: * AI: diff --git a/data/core/about.cfg b/data/core/about.cfg index 7c070b48d04..7a948368f91 100644 --- a/data/core/about.cfg +++ b/data/core/about.cfg @@ -908,6 +908,9 @@ [entry] name = "Laurent Birtz" [/entry] + [entry] + name = "Luiz Fernando de Faria Pereira (lfernando)" + [/entry] [entry] name = "Ɓukasz Dobrogowski (nital)" [/entry] diff --git a/src/replay.cpp b/src/replay.cpp index 43f7ecdc2b4..6ab746a5cbe 100644 --- a/src/replay.cpp +++ b/src/replay.cpp @@ -404,7 +404,7 @@ void replay::add_log_data(const std::string &category, const std::string &key, c void replay::add_checksum_check(const map_location& loc) { - if(! game_config::mp_debug) { + if(! game_config::mp_debug || ! (resources::units->find(loc).valid()) ) { return; } config* const cmd = add_command();