• R/O
  • SSH

zandronum-sandbox-stable: Commit


Commit MetaInfo

Revision6fdaebb71bf56174007faf1de5f2c3a0d8c51307 (tree)
Time2021-06-21 03:05:48
AuthorBenjamin Berkels <torr.samaho@quan...>
CommiterBenjamin Berkels

Log Message

fixed another GCC warning

Change Summary

Incremental Difference

diff -r 995ae29400c3 -r 6fdaebb71bf5 src/maprotation.cpp
--- a/src/maprotation.cpp Sun Jun 20 19:58:24 2021 +0200
+++ b/src/maprotation.cpp Sun Jun 20 20:05:48 2021 +0200
@@ -252,7 +252,7 @@
252252 // [AK] Find the next map in the list with the lowest min player or highest max player limit.
253253 while ( MAPROTATION_MapHasLowestOrHighestLimit( g_ulNextMapInList, ulLowestLimit, ulHighestLimit, bUseMaxLimit ) == false )
254254 {
255- g_ulNextMapInList = ++g_ulNextMapInList % g_MapRotationEntries.size( );
255+ g_ulNextMapInList = (g_ulNextMapInList + 1) % g_MapRotationEntries.size( );
256256 if ( g_ulNextMapInList == ulOldMapInList )
257257 break;
258258 }
Show on old repository browser