Skip to content

Commit

Permalink
Make mines their own radar icon, so people can replace it without nee…
Browse files Browse the repository at this point in the history
…ding to change the source.
  • Loading branch information
daid committed May 13, 2024
1 parent 0c4bf89 commit 4c5b8dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added resources/radar/mine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/spaceObjects/mine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void Mine::draw3DTransparent()

void Mine::drawOnRadar(sp::RenderTarget& renderer, glm::vec2 position, float scale, float rotation, bool long_range)
{
renderer.drawSprite("radar/blip.png", position, 0.3 * 32);
renderer.drawSprite("radar/mine.png", position, 0.3 * 32);
}

void Mine::drawOnGMRadar(sp::RenderTarget& renderer, glm::vec2 position, float scale, float rotation, bool long_range)
Expand Down

0 comments on commit 4c5b8dc

Please sign in to comment.