From 80b11b4364d2f5f9d0d85256e7737c5167998ca0 Mon Sep 17 00:00:00 2001 From: FinnHornhoover Date: Wed, 31 Mar 2021 20:09:54 -0700 Subject: [PATCH] removed my "debugger" --- src/Items.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Items.cpp b/src/Items.cpp index 8428e55..c7ed5fd 100644 --- a/src/Items.cpp +++ b/src/Items.cpp @@ -566,26 +566,18 @@ static void chestOpenHandler(CNSocket *sock, CNPacketData *data) { int validCrateId = getValidCrateId(chest->iID); bool failing = (validCrateId == -1); - std::cout << "validCrateId " << validCrateId << std::endl; - if (!failing) validItemSetId = getValidItemSetId(validCrateId); failing = (validItemSetId == -1); - std::cout << "validItemSetId " << validItemSetId << std::endl; - if (!failing) rarity = getRarity(validCrateId, validItemSetId); failing = (rarity == -1); - std::cout << "rarity " << rarity << std::endl; - if (!failing) ret = getCrateItem(&item->sItem, validItemSetId, rarity, plr->PCStyle.iGender); failing = (ret == -1); - std::cout << "ret " << ret << std::endl; - // if we failed to open a crate, at least give the player a gumball (suggested by Jade) if (failing) { item->sItem.iType = 7;