1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

index verification

This commit is contained in:
Zeno Rogue 2020-05-01 18:31:04 +02:00
parent 3109d168cf
commit 5c1ae3654c

View File

@ -311,6 +311,7 @@ EX void load(const string& fname) {
} }
else if(ep.eat("debug(")) { else if(ep.eat("debug(")) {
int i = ep.iparse(0); int i = ep.iparse(0);
verify_index(i, c.shapes, ep);
ep.force_eat(")"); ep.force_eat(")");
throw connection_debug_request(i); throw connection_debug_request(i);
} }