Skip to content

Commit dade64d

Browse files
committed
Fixed formatting "errors."
1 parent 96cfb3b commit dade64d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Source/Managers/SceneMan.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,14 +1325,14 @@ bool SceneMan::CastUnseenRay(int team, const Vector& start, const Vector& ray, V
13251325
// Reveal if we can, save the result
13261326
if (reveal) {
13271327
if (affectedAny = IsUnseen(intPos[X], intPos[Y], team) || IsUnseen(intPos[X] - size, intPos[Y] - size, team) || IsUnseen(intPos[X] + size, intPos[Y] - size, team) || IsUnseen(intPos[X] + size, intPos[Y] + size, team) || IsUnseen(intPos[X] - size, intPos[Y] + size, team) || IsUnseen(intPos[X] - size, intPos[Y], team) || IsUnseen(intPos[X] + size, intPos[Y], team) || IsUnseen(intPos[X], intPos[Y] - size, team) || IsUnseen(intPos[X], intPos[Y] + size, team)) {
1328-
RevealUnseenBox(intPos[X] - size/2, intPos[Y] - size/2, size, size, team);
1328+
RevealUnseenBox(intPos[X] - size / 2, intPos[Y] - size / 2, size, size, team);
13291329
}
13301330
} else {
13311331
if (affectedAny = !(IsUnseen(intPos[X], intPos[Y], team) || IsUnseen(intPos[X] - size, intPos[Y] - size, team) || IsUnseen(intPos[X] + size, intPos[Y] - size, team) || IsUnseen(intPos[X] + size, intPos[Y] + size, team) || IsUnseen(intPos[X] - size, intPos[Y] + size, team) || IsUnseen(intPos[X] - size, intPos[Y], team) || IsUnseen(intPos[X] + size, intPos[Y], team) || IsUnseen(intPos[X], intPos[Y] - size, team) || IsUnseen(intPos[X], intPos[Y] + size, team))) {
1332-
RestoreUnseenBox(intPos[X] - size/2, intPos[Y] - size/2, size, size, team);
1332+
RestoreUnseenBox(intPos[X] - size / 2, intPos[Y] - size / 2, size, size, team);
13331333
}
13341334
}
1335-
1335+
13361336
// Check the strength of the terrain to see if we can penetrate further
13371337
materialID = GetTerrMatter(intPos[X], intPos[Y]);
13381338
// Get the material object

0 commit comments

Comments
 (0)