0ad/source
Angen c8e6c05334 Fix gcc warning reported by Imarok after 204e17206b
Introduced in 204e17206b.
Gcc gives warning about missing parenthesis so this patch is adding
them, not changing result of expression.
Fix proposed by Imarok in P206 after report on irc
http://irclogs.wildfiregames.com/2020-05/2020-05-22-QuakeNet-%230ad-dev.log.

Differential Revision: https://code.wildfiregames.com/D2762
Reviewed by: elexis
This was SVN commit r23692.
2020-05-23 12:21:49 +00:00
..
collada Fix compiler warnings on VS 2015, refs #3439, refs #5069. 2018-03-10 09:58:53 +00:00
graphics Adds offsets to the terrain resize function and adds comments how the resizing works. 2020-05-07 21:46:17 +00:00
gui Enable preSelectedi actions on the minimap 2020-05-10 14:22:39 +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 Fix typo (certifiacte -> certificate) imported from gloox in 0e2adda813, reported by pilino1234 on transifex, relayed via Angen on Phabricator. 2020-05-21 10:15:26 +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 Fix gcc warning reported by Imarok after 204e17206b 2020-05-23 12:21:49 +00:00
tools Internationalise Damage Types and Status Effects using (optional) JSON files. 2020-05-20 17:26:37 +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