Fix bug #14114: checksum operations fail against certain scenario events.

Patch #1538 by lfernando
This commit is contained in:
Iurii Chernyi 2010-03-18 17:07:09 +00:00
parent b009a68796
commit c546e8f5dc
3 changed files with 5 additions and 1 deletions

View file

@ -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:

View file

@ -908,6 +908,9 @@
[entry]
name = "Laurent Birtz"
[/entry]
[entry]
name = "Luiz Fernando de Faria Pereira (lfernando)"
[/entry]
[entry]
name = "Łukasz Dobrogowski (nital)"
[/entry]

View file

@ -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();