Skip to content

Commit a9c8bf5

Browse files
committed
Fix unlockes and text align
1 parent 56a7e5e commit a9c8bf5

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

gish/src/main/cpp/Gish/game/mainmenu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ void versusmenu(void)
483483
if (!unlocked)
484484
{
485485
drawbackground(256+68,448,328,96,96,640,480);
486-
drawtext("?????",(512|TEXT_CENTER),444,16,1.0f,1.0f,1.0f,1.0f);
486+
drawtext("?????",(500|TEXT_CENTER),444,16,1.0f,1.0f,1.0f,1.0f);
487487
}
488488

489489
drawmenuitems();

gish/src/main/cpp/Gish/game/player.c

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,13 @@ void loadplayers(void)
315315
fread2(&player[count].gamepassed,4,1,fp);
316316
fread2(&player[count].highscore,4,1,fp);
317317
fread2(player[count].unlock,4,16,fp);
318-
player[count].unlock[0] = 1;
319-
player[count].unlock[1] = 1;
320-
player[count].unlock[2] = 1;
321-
player[count].unlock[3] = 1;
318+
if (cache_fix)
319+
{
320+
player[count].unlock[0] = 1;
321+
player[count].unlock[1] = 1;
322+
player[count].unlock[2] = 1;
323+
player[count].unlock[3] = 1;
324+
}
322325
}
323326
}
324327
fclose(fp);

0 commit comments

Comments
 (0)