diff -r 1be3e48e1d53 -r 7271ce89950f QTfrontend/model/MapModel.cpp --- a/QTfrontend/model/MapModel.cpp Sat Apr 28 11:56:09 2012 +0200 +++ b/QTfrontend/model/MapModel.cpp Sat Apr 28 12:35:29 2012 +0200 @@ -1,7 +1,6 @@ /* * Hedgewars, a free turn based strategy game - * Copyright (c) 2006-2007 Igor Ulyanov - * Copyright (c) 2007-2012 Andrey Korotaev + * Copyright (c) 2012 Andrey Korotaev * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -219,8 +218,5 @@ qvar.setValue(mapInfo); item->setData(qvar, Qt::UserRole + 1); - if (mapInfo.type == Invalid) - Q_ASSERT(false); - return item; }