1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-26 15:13:19 +00:00

ads-game:: fixed restart

This commit is contained in:
Zeno Rogue 2022-09-18 23:39:04 +02:00
parent bbc57d9b8f
commit 277b1e1fd0

View File

@ -25,7 +25,7 @@ void restart() {
hybrid::in_actual([&] {
vctr = new_vctr = starting_point;
vctrV = new_vctrV = ads_matrix(Id, 0);
vctrV = new_vctrV = current = ads_matrix(Id, 0);
init_rsrc();
});
@ -35,6 +35,9 @@ void restart() {
forCellEx(c1, vctr) ci_at[c1].type = wtNone;
ci_at[vctr].type = wtNone;
invincibility_pt = how_much_invincibility;
paused = false;
ship_pt = 0;
}
void run_ads_game() {