diff --git a/polymer/eduke32/source/astub.c b/polymer/eduke32/source/astub.c index e69ba2402..9e0f6e9a7 100644 --- a/polymer/eduke32/source/astub.c +++ b/polymer/eduke32/source/astub.c @@ -3333,7 +3333,7 @@ static int32_t m32gettile(int32_t idInitialTile) { temp = i; - while (localartfreq[temp]= 0) + while (temp >= 0 && localartfreq[temp]