0ad/source
Angen 990e3163d8 Do not store empty Garrison tag in map xml files after 8bfb449375
Differential Revision: https://code.wildfiregames.com/D2690
Patch by: Freagarach
Reported on forum:
https://wildfiregames.com/forum/index.php?/topic/27867-tag-in-the-map-xml-file/

8bfb449375 introduced Garrison tag to the xml map files.
In case GarrisonHolder was present, but held no entities, empty tag was
written. This is adding check for emptyness so that behaviour is
prevented.

This was SVN commit r23634.
2020-05-07 16:57:45 +00:00
..
collada Fix compiler warnings on VS 2015, refs #3439, refs #5069. 2018-03-10 09:58:53 +00:00
graphics Do not store empty Garrison tag in map xml files after 8bfb449375 2020-05-07 16:57:45 +00:00
gui Removes obsolete clipboard, replaces by platform-agnostic SDL2`s APIs. Refs D2476. 2020-05-05 11:18:00 +00:00
i18n Remove some unused Profiler.h and CLogger.h includes. 2019-09-07 13:35:45 +00:00
lib Fixes macOS builds after 76909984b2 because of removed header. 2020-05-05 11:31:19 +00:00
lobby Officially drop support for Visual Studio 2013, which stopped working after 3a839517ce, fixes #5379. 2020-01-12 20:04:22 +00:00
maths Implement a FixedVector2D::CompareLengthSquared function to provide a more performant alternative to CompareLength. 2020-02-09 21:00:43 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Add thread names on Linux (implements debug_SetThreadName), also add the thread name of the UPnP thread. 2020-04-06 20:20:27 +00:00
pch Precompiled logic update [Windows build] 2019-12-31 13:58:48 +00:00
ps Removes obsolete clipboard, replaces by platform-agnostic SDL2`s APIs. Refs D2476. 2020-05-05 11:18:00 +00:00
renderer Fixes FXAA for maps with default effects, FXAA was introduced in 113b1c49b9. 2020-05-02 22:34:29 +00:00
scriptinterface Set source and executable character sets to UTF-8 on Windows, removes a platform discrepancy, fixes #5094. 2020-01-12 20:19:56 +00:00
simulation2 Skip and warn about globalscripts and random map tests following 077c4f2576 and 0a6db43c83 when testing without public mod present or if the respective folders don't exist. 2020-04-23 12:06:56 +00:00
soundmanager Removes duplication of Clamp function. 2019-09-26 21:14:21 +00:00
third_party Update cppformat from v0.11.0 to v1.1.0, fixes #5646, refs #3190. 2020-04-01 07:29:33 +00:00
tools Add a C++ interface for CCmpAttack. 2020-04-21 21:44:05 +00:00
main.cpp Moves GL error check after SwapBuffers to decrease a possible synchronization during rendering process. 2020-01-29 22:03:44 +00:00
test_setup.cpp Fix string format of the JS test assertion failure following 7c2e9027c2 (cxxtest expects a char* instead of a std::wstring, so newlines were printed as \n characters). 2017-10-13 21:56:45 +00:00