X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=data%2Fqcsrc%2Fmenu%2Fvoret%2Fdialog_multiplayer_create_mapinfo.c;fp=data%2Fqcsrc%2Fmenu%2Fvoret%2Fdialog_multiplayer_create_mapinfo.c;h=71f6a1d108495e80f2bffb07a7d918375de2d43f;hb=26eec9fe19491a76fd1149f6e65542d906da034e;hp=7925b80ed9a030ec87c8ddd958a8a15d3ecae179;hpb=6c9435dc6ec74358a8235072a16d840936bcb491;p=voretournament%2Fvoretournament.git diff --git a/data/qcsrc/menu/voret/dialog_multiplayer_create_mapinfo.c b/data/qcsrc/menu/voret/dialog_multiplayer_create_mapinfo.c index 7925b80e..71f6a1d1 100644 --- a/data/qcsrc/menu/voret/dialog_multiplayer_create_mapinfo.c +++ b/data/qcsrc/menu/voret/dialog_multiplayer_create_mapinfo.c @@ -66,7 +66,7 @@ void loadMapInfoVoretMapInfoDialog(entity me, float i, entity mlb) me.authorLabel.setText(me.authorLabel, me.currentMapAuthor); me.descriptionLabel.setText(me.descriptionLabel, me.currentMapDescription); me.featuresLabel.setText(me.featuresLabel, me.currentMapFeaturesText); - if(draw_PreloadPicture(me.currentMapPreviewImage) == "") + if(draw_PictureSize(me.currentMapPreviewImage) == '0 0 0') me.previewImage.src = "nopreview_map"; else me.previewImage.src = me.currentMapPreviewImage;