Skip to content

Commit

Permalink
Update protocolgame.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Luan Luciano authored Jan 18, 2024
1 parent 6d829be commit 306ef07
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/server/network/protocol/protocolgame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8579,9 +8579,8 @@ void ProtocolGame::parseSaveWheel(NetworkMessage &msg) {
addGameTask(&Game::playerSaveWheel, player->getID(), msg);
}

void ProtocolGame::sendTakeScreenshot(uint8_t screenshotType) {
if (screenshotType == Screenshot_t
: None || oldProtocol) {
void ProtocolGame::sendTakeScreenshot(Screenshot_t screenshotType) {
if (screenshotType == SCREENSHOT_TYPE_NONE || oldProtocol) {
return;
}

Expand Down

0 comments on commit 306ef07

Please sign in to comment.