From cab41487d533e64d52b76a72158460c69fb87b67 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Sun, 5 Oct 2014 22:47:57 -0400 Subject: [PATCH] Stop the book showing up while inspecting charms with RoF Stat display still broken sadly --- common/patches/rof.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/patches/rof.cpp b/common/patches/rof.cpp index a107a1246..5fb0f9eed 100644 --- a/common/patches/rof.cpp +++ b/common/patches/rof.cpp @@ -2628,7 +2628,7 @@ namespace RoF else eq->window = emu->window; OUT(type); - eq->invslot = 0; // Set to hard 0 since it's not required for the structure to work + OUT(invslot); strn0cpy(eq->txtfile, emu->booktext, sizeof(eq->txtfile)); FINISH_ENCODE(); @@ -4497,7 +4497,7 @@ namespace RoF SETUP_DIRECT_DECODE(BookRequest_Struct, structs::BookRequest_Struct); IN(type); - emu->invslot = 0; // Set to hard 0 since it's not required for the structure to work + IN(invslot); emu->window = (uint8)eq->window; strn0cpy(emu->txtfile, eq->txtfile, sizeof(emu->txtfile));