Skip to content

Commit

Permalink
checkes
Browse files Browse the repository at this point in the history
  • Loading branch information
rye-rice committed Sep 25, 2023
1 parent 3cc90df commit c498fc7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/__DEFINES/obj_flags.dm
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@


// Bullet hit sounds
#define PROJECTILE_HITSOUND_FLESH (1<<0)
#define PROJECTILE_HITSOUND_FLESH (1<<0)
#define PROJECTILE_HITSOUND_NON_LIVING (1<<1)
#define PROJECTILE_HITSOUND_GLASS (1<<2)
#define PROJECTILE_HITSOUND_STONE (1<<3)
Expand Down
2 changes: 1 addition & 1 deletion code/__HELPERS/unsorted.dm
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
else //Exact pixel.
end_apx = ABS_COOR_OFFSET(end.x, x_offset)
end_apy = ABS_COOR_OFFSET(end.y, y_offset)
scatter = ( (rand(0, min(scatter, 45))) * (prob(50) ? 1 : -1) ) //Up to 45 degrees deviation to either side.
scatter = ((rand(0, min(scatter, 45))) * (prob(50) ? 1 : -1)) //Up to 45 degrees deviation to either side.
. = round((90 - ATAN2(end_apx - ABS_COOR(start.x), end_apy - ABS_COOR(start.y))), 1) + scatter
if(. < 0)
. += 360
Expand Down
2 changes: 1 addition & 1 deletion code/modules/projectiles/boxes_magazines/external/lmg.dm
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@

/obj/item/ammo_box/magazine/mm712x82/update_icon_state()
. = ..()
icon_state = "[base_icon_state]-[round(ammo_count(), 10)]"
icon_state = "[base_icon_state]-[round(ammo_count(), 20)]"
Binary file modified icons/obj/ammo.dmi
Binary file not shown.

0 comments on commit c498fc7

Please sign in to comment.