mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-09-30 06:50:41 +00:00
ads-game:: fixed restart
This commit is contained in:
parent
bbc57d9b8f
commit
277b1e1fd0
@ -25,7 +25,7 @@ void restart() {
|
|||||||
|
|
||||||
hybrid::in_actual([&] {
|
hybrid::in_actual([&] {
|
||||||
vctr = new_vctr = starting_point;
|
vctr = new_vctr = starting_point;
|
||||||
vctrV = new_vctrV = ads_matrix(Id, 0);
|
vctrV = new_vctrV = current = ads_matrix(Id, 0);
|
||||||
init_rsrc();
|
init_rsrc();
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -35,6 +35,9 @@ void restart() {
|
|||||||
forCellEx(c1, vctr) ci_at[c1].type = wtNone;
|
forCellEx(c1, vctr) ci_at[c1].type = wtNone;
|
||||||
ci_at[vctr].type = wtNone;
|
ci_at[vctr].type = wtNone;
|
||||||
invincibility_pt = how_much_invincibility;
|
invincibility_pt = how_much_invincibility;
|
||||||
|
|
||||||
|
paused = false;
|
||||||
|
ship_pt = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void run_ads_game() {
|
void run_ads_game() {
|
||||||
|
Loading…
Reference in New Issue
Block a user