Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fixed little bug in Radar.cpp.
- Loading branch information
Showing
with
3 additions
and
3 deletions.
-
+3
−3
src/Radar.cpp
There are no files selected for viewing
|
|
@@ -216,10 +216,10 @@ void CRadar::StreamRadarSections(int x, int y) |
|
{
|
|
{
|
|
for (int i = 0; i < 8; ++i) {
|
|
for (int i = 0; i < 8; ++i) {
|
|
for (int j = 0; j < 8; ++j) {
|
|
for (int j = 0; j < 8; ++j) {
|
|
if (i >= x - 1 && i <= x + 1 && j >= y - 1 && j <= y + 1)
|
|
if ((i >= x - 1 && i <= x + 1) && (j >= y - 1 && j <= y + 1))
|
|
RequestMapSection(x, y);
|
|
RequestMapSection(i, j);
|
|
else
|
|
else
|
|
RemoveMapSection(x, y);
|
|
RemoveMapSection(i, j);
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|
|
}
|
|
|
|