From a65bfeb8d3dd33e5f35547acf9feb04e42d4f3ff Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 28 Jan 2022 21:26:43 -0800 Subject: [PATCH] CHEWY: Use gum constant in add inventory call --- engines/chewy/rooms/room49.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/chewy/rooms/room49.cpp b/engines/chewy/rooms/room49.cpp index 6083b279968..b65c20838f8 100644 --- a/engines/chewy/rooms/room49.cpp +++ b/engines/chewy/rooms/room49.cpp @@ -194,8 +194,8 @@ void Room49::use_boy_cigar() { start_aad_wait(264, -1); room->set_zoom(zoom); - obj->add_inventar(68, &room_blk); - inventory_2_cur(68); + obj->add_inventar(GUM_INV, &room_blk); + inventory_2_cur(GUM_INV); atds->set_steuer_bit(318, ATS_AKTIV_BIT, ATS_DATEI); SetUpScreenFunc = setup_func;