X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fcredits.c;h=0d998d7de920f231a0c3e8729fc552a0c2de09a2;hb=ef3002909bfd4b08ff4e2fc2f23e07849bac77e0;hp=daf4d22f9c8dd95b221fdaf7c4134b628c4ccfc2;hpb=9df92eba777ae4365b46b0eb61fe315d91ed9388;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/credits.c b/qcsrc/menu/xonotic/credits.c index daf4d22f9..0d998d7de 100644 --- a/qcsrc/menu/xonotic/credits.c +++ b/qcsrc/menu/xonotic/credits.c @@ -31,8 +31,6 @@ void XonoticCreditsList_configureXonoticCreditsList(entity me) me.configureXonoticListBox(me); // load the file me.bufferIndex = buf_load(language_filename("xonotic-credits.txt")); - if(me.bufferIndex < 0) - me.bufferIndex = buf_load("xonotic-credits.txt"); me.nItems = buf_getsize(me.bufferIndex); } void XonoticCreditsList_destroy(entity me)