me.authorLabel.setText(me.authorLabel, me.currentMapAuthor);
me.descriptionLabel.setText(me.descriptionLabel, me.currentMapDescription);
me.featuresLabel.setText(me.featuresLabel, me.currentMapFeaturesText);
- if(precache_pic(strcat("maps/", currentMapPreviewImage)) == "")
+ if(draw_PictureSize(me.currentMapPreviewImage) == '0 0 0')
me.previewImage.src = "nopreview_map";
else
me.previewImage.src = me.currentMapPreviewImage;
me.TR(me);
me.TDempty(me, 0.2);
}
- me.TD(me, 1, wgt, e = makeXonoticTextLabel(0, GameType_GetName(i)));
+ me.TD(me, 1, wgt, e = makeXonoticTextLabel(0, MapInfo_Type_ToText(GameType_GetID(i))));
me.(typeLabels[i]) = e;
}