Fixes a compiler warning and arcade mode coverage

This commit is contained in:
Linus Probert 2018-10-27 13:53:29 +02:00
parent 823384161f
commit 76c2f90ce9
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ local function generate_path ()
if bossLevel or CURRENT_LEVEL == 1 then if bossLevel or CURRENT_LEVEL == 1 then
coverage = 5 coverage = 5
end end
if ARCADE_GAME then if ARCADE_MODE then
coverage = 40 coverage = 40
end end

View File

@ -1010,7 +1010,7 @@ register_scores(void)
steam_register_qp_score((int) gPlayer->gold, (int32_t*) &details, 1); steam_register_qp_score((int) gPlayer->gold, (int32_t*) &details, 1);
} }
if (arcadeGame) { if (arcadeGame) {
steam_register_arcade_score((int)gPlayer->gold, (int32_t)&details, 1); steam_register_arcade_score((int)gPlayer->gold, (int32_t*) &details, 1);
} }
if (gPlayer->class == ROGUE) { if (gPlayer->class == ROGUE) {
steam_set_achievement(ROGUE_LIKE); steam_set_achievement(ROGUE_LIKE);