Revision | 6fdaebb71bf56174007faf1de5f2c3a0d8c51307 (tree) |
---|---|
Time | 2021-06-21 03:05:48 |
Author | Benjamin Berkels <torr.samaho@quan...> |
Commiter | Benjamin Berkels |
fixed another GCC warning
@@ -252,7 +252,7 @@ | ||
252 | 252 | // [AK] Find the next map in the list with the lowest min player or highest max player limit. |
253 | 253 | while ( MAPROTATION_MapHasLowestOrHighestLimit( g_ulNextMapInList, ulLowestLimit, ulHighestLimit, bUseMaxLimit ) == false ) |
254 | 254 | { |
255 | - g_ulNextMapInList = ++g_ulNextMapInList % g_MapRotationEntries.size( ); | |
255 | + g_ulNextMapInList = (g_ulNextMapInList + 1) % g_MapRotationEntries.size( ); | |
256 | 256 | if ( g_ulNextMapInList == ulOldMapInList ) |
257 | 257 | break; |
258 | 258 | } |