diff --git a/game/reconstructed/btl4galm.cpp b/game/reconstructed/btl4galm.cpp index 43861f3..0bba761 100644 --- a/game/reconstructed/btl4galm.cpp +++ b/game/reconstructed/btl4galm.cpp @@ -276,6 +276,14 @@ void mem_stream->ReadBytes(&item_condition, sizeof(item_condition)); // (*stream+0x1c) mem_stream->ReadBytes(&lamp_code, sizeof(lamp_code)); + if (BTLampLog()) + DEBUG_STREAM << "[galm-item] sub='" + << (the_subsystem ? (const char *)the_subsystem->GetName() : "?") + << "' cond=" << (int)the_condition + << " itemCond=" << item_condition + << " lampCode=0x" << std::hex << lamp_code << std::dec + << "\n" << std::flush; + if ((int)the_condition != item_condition) { return;