remove debugging statements that were missed

This commit is contained in:
avitasia
2026-02-20 12:11:00 -08:00
parent cbeafea450
commit 16afba6c37
3 changed files with 8594 additions and 8613 deletions
+8592 -8605
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -26,13 +26,13 @@ namespace Nampower {
constexpr uint32_t MAJOR_VERSION = 2;
constexpr uint32_t MINOR_VERSION = 39;
constexpr uint32_t PATCH_VERSION = 0;
constexpr uint32_t PATCH_VERSION = 1;
constexpr int32_t LUA_REGISTRYINDEX = -10000;
constexpr int32_t LUA_GLOBALSINDEX = -10001;
extern uint32_t gLastErrorTimeMs;
extern uint32_t gLastBufferIncreaseTimeMs;
extern uint32_t gLastBufferIncreaseTimeMs;git
extern uint32_t gLastBufferDecreaseTimeMs;
extern uint32_t gBufferTimeMs; // adjusts dynamically depending on errors
-6
View File
@@ -170,7 +170,6 @@ namespace Nampower {
guidEventCode = game::UNIT_PORTRAIT_UPDATE_GUID;
break;
case game::UNIT_MODEL_CHANGED:
DEBUG_LOG("UNIT_MODEL_CHANGED hit in switch, guid=0x" << std::hex << names.guid << std::dec);
guidEventCode = game::UNIT_MODEL_CHANGED_GUID;
break;
case game::UNIT_INVENTORY_CHANGED:
@@ -183,9 +182,6 @@ namespace Nampower {
}
if (guidEventCode != 0) {
DEBUG_LOG(
"FireUnitGuidEvent guidEventCode=" << guidEventCode << " guid=0x" << std::hex << names.guid << std::
dec);
FireUnitGuidEvent(names, guidEventCode);
}
}
@@ -209,8 +205,6 @@ namespace Nampower {
void SendUnitSignalHook(hadesmem::PatchDetourBase *detour, uint64_t *guid, uint32_t eventCode) {
if (!guid || *guid == 0) return;
DEBUG_LOG("SendUnitSignal eventCode=" << eventCode << " guid=0x" << std::hex << *guid << std::dec);
auto names = GetUnitNames(guid);
TriggerUnitEvents(names, eventCode);
}