Selaa lähdekoodia

Better fix for #128

DjWarmonger 14 vuotta sitten
vanhempi
sitoutus
60ee0e1a3c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      lib/map.cpp

+ 1 - 1
lib/map.cpp

@@ -972,7 +972,7 @@ void Mapa::readHeader( const unsigned char * bufor, int &i)
 			}
 			}
 		}//allowed artifacts have been read
 		}//allowed artifacts have been read
 	}
 	}
-	else //ban combo artifacts
+	if (version == RoE || version == AB) //ban combo artifacts
 	{
 	{
 		BOOST_FOREACH(CArtifact *artifact, VLC->arth->artifacts) 
 		BOOST_FOREACH(CArtifact *artifact, VLC->arth->artifacts) 
 		{
 		{