mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-26 02:54:14 +01:00
Fixed little bug in Radar.cpp.
This commit is contained in:
parent
6c7df4487e
commit
0126bef9a1
@ -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);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user