From 6097068f9e3420578eec5f790217a4b07bb1c42a Mon Sep 17 00:00:00 2001 From: nebiun Date: Wed, 21 Feb 2024 22:56:04 +0100 Subject: [PATCH] Code cleaning --- Makefile | 2 -- source/rip.c | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e82741b..acbc4c5 100644 --- a/Makefile +++ b/Makefile @@ -82,10 +82,8 @@ export HFILES := $(addsuffix .h,$(subst .,_,$(BINFILES))) #--------------------------------------------------------------------------------- # build a list of include paths #--------------------------------------------------------------------------------- -INCLUDEDIR := $(foreach dir,$(LIBDIRS),$(dir $(wildcard $(dir)/include/*/))) export INCLUDE := $(foreach dir,$(INCLUDES), -iquote $(CURDIR)/$(dir)) \ $(foreach dir,$(LIBDIRS),-I$(dir)/include) \ - $(foreach dir,$(INCLUDEDIR),-I$(dir)) \ -I$(CURDIR)/include \ -I$(CURDIR)/$(BUILD) \ -I$(LIBOGC_INC) diff --git a/source/rip.c b/source/rip.c index 65b71a7..e4845a6 100644 --- a/source/rip.c +++ b/source/rip.c @@ -166,7 +166,8 @@ death(char monst) int oldfont; int start_line = 1; - purse -= purse / 10; + mpos = 0; + purse -= purse / 10; clear(); killer = killname(monst, FALSE); oldfont = md_setfont(MD_FONT_BIG);