mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 15:40:26 +00:00
adapted rulegen-tests to change in rulegen
This commit is contained in:
parent
8871efcc0c
commit
c70dc65846
@ -38,7 +38,7 @@ struct hrmap_testproto : hrmap {
|
|||||||
}
|
}
|
||||||
|
|
||||||
heptagon *getOrigin() override {
|
heptagon *getOrigin() override {
|
||||||
return clone(t_origin);
|
return clone(t_origin[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
heptagon *create_step(heptagon *h, int d) override {
|
heptagon *create_step(heptagon *h, int d) override {
|
||||||
@ -321,7 +321,7 @@ void test_current() {
|
|||||||
status = s0 + "ERR;\"" + e.what() + "\"";
|
status = s0 + "ERR;\"" + e.what() + "\"";
|
||||||
}
|
}
|
||||||
|
|
||||||
if(t_origin && (draw_which & 2)) {
|
if(t_origin.size() && (draw_which & 2)) {
|
||||||
restart_game_on(new hrmap_testproto);
|
restart_game_on(new hrmap_testproto);
|
||||||
view_debug();
|
view_debug();
|
||||||
View = Id; shot::take(t+"-orig.png");
|
View = Id; shot::take(t+"-orig.png");
|
||||||
|
Loading…
Reference in New Issue
Block a user