1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-13 17:06:52 +00:00

fixed crashes on the sphere

This commit is contained in:
Zeno Rogue 2019-01-28 21:41:53 +01:00
parent 3317e95bfb
commit 74693f43e7

View File

@ -396,7 +396,7 @@ template<class T> struct connection_table {
T*& move(int i) { return move_table[i]; }
unsigned char modspin(int i) { return spin(fix(i)); }
void fullclear() {
for(int i=0; i<MAX_EDGE; i++) move_table[i] = NULL;
for(int i=0; i<full()->degree(); i++) move_table[i] = NULL;
}
void connect(int d0, T* c1, int d1, bool m) {
move(d0) = c1;