diff --git a/rogueviz/ads/resources.cpp b/rogueviz/ads/resources.cpp index 0aae02c8..2d52a324 100644 --- a/rogueviz/ads/resources.cpp +++ b/rogueviz/ads/resources.cpp @@ -200,7 +200,7 @@ void gain_resource(eResourceType rsrc) { D(rtOxygen, oxygen) for(auto r: {rtGoldGate, rtGoldRocks, rtGoldTurret}) { D(r, score[treasure_id(r)]) - #ifdef RVCOL + #if RVCOL if(pdata.score[0] + pdata.score[1] + pdata.score[2] == 30 && no_param_change) rogueviz::rv_achievement("ADSGAME"); #endif } diff --git a/rogueviz/seuphorica.cpp b/rogueviz/seuphorica.cpp index fd81e01b..d362fd97 100644 --- a/rogueviz/seuphorica.cpp +++ b/rogueviz/seuphorica.cpp @@ -1031,12 +1031,16 @@ void seuphorica_screen() { post_achievements(); if(roundindex == 21) { save(); + #if RVCOL if(is_daily && cheats == 0) rogueviz::rv_leaderboard("Seuphorica daily " + its(daily) + ": " + get_geom_name(), total_gain, 1, rvlc::num, rv_data()); if(cheats == 0) rogueviz::rv_leaderboard("Seuphorica 20: " + get_geom_name() + get_setname(), total_gain, 1, rvlc::num, rv_data()); + #endif } if(roundindex == 51) { save(); + #if RVCOL if(cheats == 0) rogueviz::rv_leaderboard("Seuphorica 50: " + get_geom_name() + get_setname(), total_gain, 1, rvlc::num, rv_data()); + #endif } }); } @@ -1749,7 +1753,9 @@ string get_geom_name() { void save_old_game_if_needed() { // no point to save on the 1st turn, and also on 21st and 51st turn, it has just been saved if(!among(roundindex, 0, 1, 21, 51)) save(); + #if RVCOL if(cheats == 0) rogueviz::rv_leaderboard("Seuphorica endless: " + get_geom_name() + get_setname(), total_gain, 1, rvlc::num); + #endif } void load() {