diff options
Diffstat (limited to 'games/naev/files/patch-src_hook.c')
-rw-r--r-- | games/naev/files/patch-src_hook.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/games/naev/files/patch-src_hook.c b/games/naev/files/patch-src_hook.c deleted file mode 100644 index 7a6a3eaaf2e8..000000000000 --- a/games/naev/files/patch-src_hook.c +++ /dev/null @@ -1,16 +0,0 @@ -# Origin: https://github.com/naev/naev/commit/74b9a086a20f80f21ce2f3866b31318e651a6235 -# Subject: Turn player_missions in an array of pointers - ---- src/hook.c.orig 2015-02-16 17:49:03 UTC -+++ src/hook.c -@@ -837,8 +837,8 @@ static Mission *hook_getMission( Hook *h - { - int i; - for (i=0; i<MISSION_MAX; i++) -- if (player_missions[i].id == hook->u.misn.parent) -- return &player_missions[i]; -+ if (player_missions[i]->id == hook->u.misn.parent) -+ return player_missions[i]; - - return NULL; - } |