Decreased warning range for battle area bounds.
This commit is contained in:
parent
95de0a67c4
commit
817c5c22ee
|
@ -94,28 +94,28 @@ void drawRadarRangeWarning(void)
|
|||
y = (int)player->y / GRID_CELL_HEIGHT;
|
||||
leaving = 0;
|
||||
|
||||
if (x <= 4 && player->dx < 0)
|
||||
if (x <= 2 && player->dx < 0)
|
||||
{
|
||||
blitRotated(radarWarningTexture, SCREEN_WIDTH - 85, SCREEN_HEIGHT - 85, 270);
|
||||
|
||||
leaving = 1;
|
||||
}
|
||||
|
||||
if (y <= 4 && player->dy < 0)
|
||||
if (y <= 2 && player->dy < 0)
|
||||
{
|
||||
blitRotated(radarWarningTexture, SCREEN_WIDTH - 85, SCREEN_HEIGHT - 85, 0);
|
||||
|
||||
leaving = 1;
|
||||
}
|
||||
|
||||
if (x >= GRID_SIZE - 4 && player->dx > 0)
|
||||
if (x >= GRID_SIZE - 2 && player->dx > 0)
|
||||
{
|
||||
blitRotated(radarWarningTexture, SCREEN_WIDTH - 85, SCREEN_HEIGHT - 85, 90);
|
||||
|
||||
leaving = 1;
|
||||
}
|
||||
|
||||
if (y >= GRID_SIZE - 4 && player->dy > 0)
|
||||
if (y >= GRID_SIZE - 2 && player->dy > 0)
|
||||
{
|
||||
blitRotated(radarWarningTexture, SCREEN_WIDTH - 85, SCREEN_HEIGHT - 85, 180);
|
||||
|
||||
|
|
Loading…
Reference in New Issue