From f9ff7316d5c7277eb7482e30121388cd65f4ecfc Mon Sep 17 00:00:00 2001 From: nullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com> Date: Wed, 5 Dec 2018 22:31:01 +0800 Subject: Remove uses of INVALID_ defines, clean up some arrays with constants, and spaces -> tabs --- src/trader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/trader.c') diff --git a/src/trader.c b/src/trader.c index afb0cca48..e23efb4ce 100644 --- a/src/trader.c +++ b/src/trader.c @@ -155,7 +155,7 @@ void ScrSpecial_IsDecorationFull(void) { gSpecialVar_Result = FALSE; if (gDecorations[gSpecialVar_0x8004].category != gDecorations[gSpecialVar_0x8006].category - && GetFirstEmptyDecorSlot(gDecorations[gSpecialVar_0x8004].category) == INVALID_S8) + && GetFirstEmptyDecorSlot(gDecorations[gSpecialVar_0x8004].category) == -1) { sub_8127250(gStringVar2, gDecorations[gSpecialVar_0x8004].category); gSpecialVar_Result = TRUE; -- cgit v1.2.3