diff --git a/Source/gg2/Objects/Overlays/KillLog.events/Draw.xml b/Source/gg2/Objects/Overlays/KillLog.events/Draw.xml index 2b94b0430..d5bd89a64 100644 --- a/Source/gg2/Objects/Overlays/KillLog.events/Draw.xml +++ b/Source/gg2/Objects/Overlays/KillLog.events/Draw.xml @@ -37,11 +37,7 @@ for (i = 0; i < ds_list_size(kills); i += 1) { if (in) color = make_color_rgb(217,217,183); else color = make_color_rgb(49,45,26); - /*draw_rectangle_color(view_xview[0] + view_wview[0] - string_width(n1 + n2 + str) - 8 - sprite_get_width(w1), view_yview[0] + i * 20 + 14 + yoffset, - view_xview[0] + view_wview[0] - 8, view_yview[0] + i * 20 + 24 + 8 + yoffset, color, color, color, color, 0); - draw_rectangle_color(view_xview[0] + view_wview[0] - string_width(n1 + n2 + str) - 10 - sprite_get_width(w1), view_yview[0] + i * 20 + 16 + yoffset, - view_xview[0] + view_wview[0] - 6, view_yview[0] + i * 20 + 24 + 6+ yoffset, color, color, color, color, 0); -*/ + draw_rectangle_color(view_xview[0] + view_wview[0] - string_width(n1 + n2 + str) - 12 - sprite_get_width(w1), view_yview[0] + i * 20 + 14 + yoffset, view_xview[0] + view_wview[0] - 8, view_yview[0] + i * 20 + 24 + 8 + yoffset, color, color, color, color, 0); draw_rectangle_color(view_xview[0] + view_wview[0] - string_width(n1 + n2 + str) - 14 - sprite_get_width(w1), view_yview[0] + i * 20 + 16 + yoffset, @@ -54,11 +50,9 @@ for (i = 0; i < ds_list_size(kills); i += 1) { } else { draw_set_color(c_white); } - //draw_text(view_xview[0] + view_wview[0] - string_width(n1 + n2 + str) - 8 - sprite_get_width(w1), view_yview[0] + i * 20 + 24 + yoffset, n1); draw_text(view_xview[0] + view_wview[0] - string_width(n1 + n2 + str) - 12 - sprite_get_width(w1), view_yview[0] + i * 20 + 24 + yoffset, n1); draw_set_halign(fa_left); if (w1 != -1) { - //draw_sprite(w1, in, floor(view_xview[0] + view_wview[0] - string_width(n2 + str) - 8 - sprite_get_width(w1)/2 /*- sprite_get_xoffset(w1)*/), floor(view_yview[0] + i * 20 + 24 + yoffset)); draw_sprite(w1, in, floor(view_xview[0] + view_wview[0] - string_width(n2 + str) - 10 - sprite_get_width(w1)/2 /*- sprite_get_xoffset(w1)*/), floor(view_yview[0] + i * 20 + 24 + yoffset)); }