summaryrefslogtreecommitdiffstats
path: root/games/naev/files/patch-src_land__outfits.c
blob: a5ee02a3eb849536c32c0825bf3de4ad6e24495e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Origin: https://github.com/naev/naev/commit/9fd2a7dcb3690bc1befe7f9a05d02e204dcfe8a1
# Subject: Avoid regenerating the land tabs over top of themselves

--- src/land_outfits.c.orig	2015-03-05 22:11:11 UTC
+++ src/land_outfits.c
@@ -95,6 +95,9 @@ void outfits_open( unsigned int wid )
 {
    int w, h, iw, ih, bw, bh, off;
 
+   /* Mark as generated. */
+   land_tabGenerate(LAND_WINDOW_OUTFITS);
+
    /* Get dimensions. */
    outfits_getSize( wid, &w, &h, &iw, &ih, &bw, &bh );
 
OpenPOWER on IntegriCloud