1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 01:00:25 +00:00

product:: lazy Yendor

This commit is contained in:
Zeno Rogue 2019-08-19 13:57:08 +02:00
parent e8cdb9e616
commit 10352c95c1

View File

@ -219,6 +219,11 @@ EX namespace yendor {
nyi.path[0] = yendor;
}
else if(prod) {
/* I am lazy */
for(int i=1; i<=YDIST-1; i++) nyi.path[i] = nyi.path[i-1]->cmove(nyi.path[i-1]->type-1);
}
else {
int t = -1;
bignum full_id;