summaryrefslogtreecommitdiff
path: root/src/trader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/trader.c')
-rw-r--r--src/trader.c2
1 files changed, 1 insertions, 1 deletions
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;