Don't keep reloading the banners.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@451 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
326ba77233
commit
d2be5b05d6
|
@ -292,6 +292,8 @@ loadbanner (char *fname, struct dg_banner *ban)
|
|||
|
||||
memset (buf, 0, 80);
|
||||
|
||||
if (ban->lines) return;
|
||||
|
||||
bannerfile = fopen (fname, "r");
|
||||
|
||||
if (!bannerfile)
|
||||
|
|
Loading…
Reference in New Issue