diff --git a/nzportable.3dsx b/nzportable.3dsx index 198c6cf..a52a26c 100644 Binary files a/nzportable.3dsx and b/nzportable.3dsx differ diff --git a/nzportable.elf b/nzportable.elf index 22f22ee..86bee80 100755 Binary files a/nzportable.elf and b/nzportable.elf differ diff --git a/source/cl_hud.c b/source/cl_hud.c index 8b52aa7..17bc6b9 100644 --- a/source/cl_hud.c +++ b/source/cl_hud.c @@ -1169,8 +1169,9 @@ void HUD_ProgressBar (void) progressbar = 100 - ((cl.progress_bar-sv.time)*10); if (progressbar >= 100) progressbar = 100; - Draw_FillByColor ((vid.width)/2 - 51, vid.height*0.75 - 1, 102, 5, 0, 0, 0,100); - Draw_FillByColor ((vid.width)/2 - 50, vid.height*0.75, progressbar, 3, 255, 255, 255,100); + + Draw_FillByColor (((vid.width) >> 1) - 51, (int)(vid.height*0.75 - 1), 102, 5, 0, 0, 0,100); + Draw_FillByColor (((vid.width) >> 1) - 50, (int)((vid.height*3) >> 2), (int)progressbar, 3, 255, 255, 255,100); Draw_String ((vid.width - (88))/2, vid.height*0.75 + 10, "Reviving..."); } diff --git a/source/gl_draw.c b/source/gl_draw.c index fb431f4..a928500 100644 --- a/source/gl_draw.c +++ b/source/gl_draw.c @@ -800,7 +800,7 @@ void Draw_LoadingFill(void) float loadsize = loading_cur_step * (max_step / loading_num_step); Draw_FillByColor (x - 2, y - 2, max_step + 4, size + 4, 69, 69, 69, 255); - Draw_FillByColor (x, y, loadsize, size, 0, 0, 0, 200); + Draw_FillByColor (x, y, (int)loadsize, size, 255, 255, 255, 255); switch(loading_step) { case 1: text = "Loading Models.."; break;