diff --git a/VERSION b/VERSION index 3acdebd0..97630135 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.221 +8.3.222 diff --git a/resis/ResMain.c b/resis/ResMain.c index dabf3283..ba47a133 100644 --- a/resis/ResMain.c +++ b/resis/ResMain.c @@ -423,7 +423,7 @@ ResFindNewContactTiles(contacts) } } #ifdef PARANOID - if (contacts->cp_currentcontact > LAYERS_PER_CONTACT) + if (contacts->cp_currentcontact >= LAYERS_PER_CONTACT) { TxError("Error: Not enough space allocated for contact nodes\n"); } diff --git a/resis/resis.h b/resis/resis.h index 0f71fcbd..8b33fd52 100644 --- a/resis/resis.h +++ b/resis/resis.h @@ -9,7 +9,7 @@ #ifndef _RESIS_H #define _RESIS_H -#define LAYERS_PER_CONTACT 3 +#define LAYERS_PER_CONTACT 4 #define TILES_PER_JUNCTION 2 typedef struct contactpoint