cppcheck cleanup.
authorGwyn Ciesla <gwync@protonmail.com>
Thu, 27 Aug 2020 14:22:34 +0000 (09:22 -0500)
committerGwyn Ciesla <gwync@protonmail.com>
Thu, 27 Aug 2020 14:22:34 +0000 (09:22 -0500)
radar_plot.cpp

index 92095e9..0596d68 100644 (file)
@@ -14,7 +14,7 @@ void radar_plot(game_object object, int drawlocation){
     int dl_radar; //main offset
 
     //set line based on height rules
-    if(object.x>=1&&object.x<=3){
+    if(object.x<=3){
       line = 1;
     } else if(object.x>=4&&object.x<=9){
       line = 2;