X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fcredits.c;h=0d998d7de920f231a0c3e8729fc552a0c2de09a2;hb=dbc2de9f6ebef85ca8bde2704b49fc8c6426ec03;hp=daf4d22f9c8dd95b221fdaf7c4134b628c4ccfc2;hpb=5eafbda9690a04118ae0e1fac02b5e4cfacf7cd1;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)