Skip to content

Commit

Permalink
revert some things
Browse files Browse the repository at this point in the history
  • Loading branch information
dudantas committed Sep 29, 2024
1 parent d4d296e commit b8b0e5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
"displayName": "Windows - Release",
"description": "Windows Release Build",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows-static",
"SPEED_UP_BUILD_UNITY": "OFF"
"VCPKG_TARGET_TRIPLET": "x64-windows-static"
},
"architecture": {
"value": "x64",
Expand Down
2 changes: 1 addition & 1 deletion src/server/network/protocol/protocolgame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1658,12 +1658,12 @@ void ProtocolGame::parseSetOutfit(NetworkMessage &msg) {
return;
}

uint16_t startBufferPosition = msg.getBufferPosition();
Module* outfitModule = g_modules().getEventByRecvbyte(0xD3, false);
if (outfitModule) {
outfitModule->executeOnRecvbyte(player, msg);
}

uint16_t startBufferPosition = msg.getBufferPosition();
if (msg.getBufferPosition() == startBufferPosition) {
uint8_t outfitType = !oldProtocol ? msg.getByte() : 0;
Outfit_t newOutfit;
Expand Down

0 comments on commit b8b0e5a

Please sign in to comment.