From 27bc5d87922d380bdf8abdd41ca52d556b23a28f Mon Sep 17 00:00:00 2001 From: Parracodea Date: Sat, 6 Apr 2024 13:44:05 -0400 Subject: [PATCH] Use missile icon on radar instead of arrow icon --- resources/radar/missile.png | Bin 0 -> 898 bytes src/spaceObjects/missiles/missileWeapon.cpp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 resources/radar/missile.png diff --git a/resources/radar/missile.png b/resources/radar/missile.png new file mode 100644 index 0000000000000000000000000000000000000000..7cf2f9c0d315253d56edbce193f5c01118638dae GIT binary patch literal 898 zcmV-|1AY97P)Px&JV``BRCt{2+Dk|kVHgJB_n3AfFK8~ML?MU>7qy8J0*j*Bq+%IepbIAy%5V`y zWI<7sLAa&!S81e8)rDW#NBN-3q3Qc5YMlv3&+k&vy$HLJsGwrI>$HLJw4h>#>$HLJjG$tR>$HK0&c!y@X#?R&LB%7k(+0v; zLB&?rX#){e-0V872UfC=kF2F_f{Hs`5$j0Pf~)4TU=!K#3XM_3fW_Q-Xf^D zai-II-ixvUw~R$k6RVAN_M+SOPkfGVD93l?p%lYN`ra=`@G`=3 z?|O%PkGp1VyF144{=8<{bmdCy!* zIVt^H!&SzTWua$=wFH;b-?4_hA%9z2r_L6=wTa7n)=ZAn5n@!MQSV%2A%pAZ0%MP| zmY)KR+GNb>j5ul#PU#r!mMYe@G@=I^SVW!8OyWQ0|4gnfzLrH zV@t`a#Q3b7wq82wVIPBb7~4o*>Bq z;ojTsI#|;ie_3BLDyZ07*qoM6N<$f+*g!+W-In literal 0 HcmV?d00001 diff --git a/src/spaceObjects/missiles/missileWeapon.cpp b/src/spaceObjects/missiles/missileWeapon.cpp index 960f19979f..402d65c670 100644 --- a/src/spaceObjects/missiles/missileWeapon.cpp +++ b/src/spaceObjects/missiles/missileWeapon.cpp @@ -62,7 +62,7 @@ void MissileWeapon::drawOnRadar(sp::RenderTarget& renderer, glm::vec2 position, { if (long_range) return; - renderer.drawRotatedSprite("radar/arrow.png", position, 32 * (0.25f + 0.25f * category_modifier), getRotation()-rotation, data.color); + renderer.drawRotatedSprite("radar/missile.png", position, 32 * (0.25f + 0.25f * category_modifier), getRotation()-rotation, data.color); } void MissileWeapon::update(float delta)