mirror of
https://github.com/paxed/dgamelaunch.git
synced 2025-07-27 23:54:25 +02:00
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…
x
Reference in New Issue
Block a user