diff options
Diffstat (limited to 'games/glob2/patches/glob2-bool.patch')
-rw-r--r-- | games/glob2/patches/glob2-bool.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games/glob2/patches/glob2-bool.patch b/games/glob2/patches/glob2-bool.patch new file mode 100644 index 0000000000..3314c6ec2c --- /dev/null +++ b/games/glob2/patches/glob2-bool.patch @@ -0,0 +1,13 @@ +diff --git a/src/AIEcho.cpp b/src/AIEcho.cpp +index 77d9f63..0e5f59e 100644 +--- a/src/AIEcho.cpp ++++ b/src/AIEcho.cpp +@@ -4387,7 +4387,7 @@ bool enemy_building_iterator::operator!=(const enemy_building_iterator& rhs) con + { + if(is_end && rhs.is_end) + return false; +- return is_end!=rhs.is_end || team!=rhs.team || building_type!=rhs.building_type || level!=rhs.level || construction_site!=rhs.construction_site; ++ return bool {is_end!=rhs.is_end || team!=rhs.team || building_type!=rhs.building_type || level!=rhs.level || construction_site!=rhs.construction_site}; + } + + |