💾 Archived View for cadence.moe › documents › asciiportal-control.diff captured on 2023-05-24 at 17:58:09.
⬅️ Previous capture (2021-11-30)
-=-=-=-=-=-=-
diff --git a/src/ap_maps.cpp b/src/ap_maps.cpp index 8e41b79..265fad6 100644 --- a/src/ap_maps.cpp +++ b/src/ap_maps.cpp @@ -224,6 +224,8 @@ int MapPack::set_currentlevel(int newlvl) { return -1; // the map pack is over, we don't load any map load_map(); + + return 0; } void MapPack::reload_level() { diff --git a/src/ap_play.cpp b/src/ap_play.cpp index 4ebbf56..f80cbee 100644 --- a/src/ap_play.cpp +++ b/src/ap_play.cpp @@ -936,6 +936,8 @@ int play_level(MapPack &mappack) { if (!game.still_alive()) return 2; if (game.has_won()) return 3; + + return 0; }