1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-07-05 09:52:43 +00:00

replacing with an explicit list

This commit is contained in:
Zeno Rogue
2018-06-17 18:32:06 +02:00
parent dabf322095
commit d3200253db
5 changed files with 40 additions and 14 deletions
+2 -2
View File
@@ -144,7 +144,7 @@ cellwalker cwt; // single player character position
inline cell*& singlepos() { return cwt.c; }
inline bool singleused() { return !(shmup::on || multi::players > 1); }
mt19937 r;
std::mt19937 r;
void shrand(int i) {
r.seed(i);
@@ -161,7 +161,7 @@ ld hrandf() {
}
int hrandstate() {
mt19937 r2 = r;
std::mt19937 r2 = r;
return r2() & HRANDMAX;
}