diff --git a/bin/Makefile b/bin/Makefile index 5ed1e62..8319b12 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -92,5 +92,4 @@ clean: @(cd ../utils/mkspr; $(MAKE) clean) @echo -e "\tCleaning Lua" @(cd ../lib/lua; $(MAKE) clean) - @(cd ../lib/pluto; $(MAKE) clean) diff --git a/src/hook.c b/src/hook.c index 30c6214..0040dc7 100644 --- a/src/hook.c +++ b/src/hook.c @@ -42,7 +42,8 @@ static int hook_run(Hook* hook) { if(player_missions[i].id == hook->parent) break; if(i >= MISSION_MAX) { - WARN("Trying to run hook with parent not in player mission stack!"); + WARN("Trying to run hook with parent not in player mission stack: deleting"); + hook->delete = 1; // So delete it. return -1; } misn = &player_missions[i];