signal packet version set to 1 as the struct hasn't changed, but certain compiles may not appreciate missing opcode version

This commit is contained in:
Image 2021-10-26 14:24:51 -04:00
parent 40dce167d2
commit aefa1db989

View file

@ -1687,7 +1687,7 @@ bool Client::HandlePacket(EQApplicationPacket* app) {
case OP_SignalMsg: {
LogWrite(OPCODE__DEBUG, 1, "Opcode", "Opcode 0x%X (%i): OP_SysClient/OP_SignalMsg", opcode, opcode);
PacketStruct* packet = configReader.getStruct("WS_Signal", GetVersion());
PacketStruct* packet = configReader.getStruct("WS_Signal", 1);
if (packet) {
packet->LoadPacketData(app->pBuffer, app->size);
EQ2_16BitString str = packet->getType_EQ2_16BitString_ByName("signal");
@ -9380,7 +9380,6 @@ void Client::HandInCollections() {
return;
}
}
}
void Client::AcceptCollectionRewards(Collection* collection, int32 selectable_item_id) {