Cleaned trailing whitespace
This commit is contained in:
+3
-3
@@ -127,7 +127,7 @@ void UpdateLocationHistoryForRoamer(void)
|
||||
void RoamerMoveToOtherLocationSet(void)
|
||||
{
|
||||
u8 mapNum = 0;
|
||||
|
||||
|
||||
if (!ROAMER->active)
|
||||
return;
|
||||
|
||||
@@ -170,8 +170,8 @@ void RoamerMove(void)
|
||||
// Choose a new map (excluding the first) within this set
|
||||
// Also exclude a map if the roamer was there 2 moves ago
|
||||
mapNum = sRoamerLocations[locSet][(Random() % (NUM_LOCATIONS_PER_SET - 1)) + 1];
|
||||
if (!(sLocationHistory[2][MAP_GRP] == ROAMER_MAP_GROUP
|
||||
&& sLocationHistory[2][MAP_NUM] == mapNum)
|
||||
if (!(sLocationHistory[2][MAP_GRP] == ROAMER_MAP_GROUP
|
||||
&& sLocationHistory[2][MAP_NUM] == mapNum)
|
||||
&& mapNum != MAP_NUM(UNDEFINED))
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user