Skip to content

Commit

Permalink
Update src/server/network/protocol/protocolgame.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Eduardo Dantas <[email protected]>
  • Loading branch information
Luan Luciano and dudantas authored Jan 17, 2024
1 parent 5819b72 commit 221fcdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/network/protocol/protocolgame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8579,7 +8579,8 @@ void ProtocolGame::parseSaveWheel(NetworkMessage &msg) {
addGameTask(&Game::playerSaveWheel, player->getID(), msg);
}

void ProtocolGame::takeScreenshot(uint8_t screenshotType) {
void ProtocolGame::sendTakeScreenshot(uint8_t screenshotType) {

Check warning on line 8582 in src/server/network/protocol/protocolgame.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

[cppcheck] reported by reviewdog 🐶 Unmatched '{'. Configuration: ''. Raw Output: src/server/network/protocol/protocolgame.cpp:8582:Unmatched '{'. Configuration: ''.
if (screenshotType == Screenshot_t:None || oldProtocol) {
if (!player || oldProtocol) {
return;
}
Expand Down

0 comments on commit 221fcdf

Please sign in to comment.