diff --git a/Source/automap.cpp b/Source/automap.cpp index 2b222b16b..abd8ea488 100644 --- a/Source/automap.cpp +++ b/Source/automap.cpp @@ -51,7 +51,7 @@ struct AutomapTile { CaveHorizontal, CaveVertical, CaveCross, - Bridg, + Bridge, River, RiverCornerEast, RiverCornerNorth, @@ -148,7 +148,7 @@ void DrawDirt(const Surface &out, Point center, uint8_t color) out.SetPixel({ center.x - AmLine(8) + AmLine(32), center.y + AmLine(4) }, color); } -void DrawBridg(const Surface &out, Point center, uint8_t color) +void DrawBridge(const Surface &out, Point center, uint8_t color) { out.SetPixel(center, color); @@ -536,8 +536,8 @@ void DrawAutomapTile(const Surface &out, Point center, Point map) case AutomapTile::Types::Corner: case AutomapTile::Types::None: break; - case AutomapTile::Types::Bridg: - DrawBridg(out, center, MapColorsItem); + case AutomapTile::Types::Bridge: + DrawBridge(out, center, MapColorsItem); break; case AutomapTile::Types::River: DrawRiver(out, center, MapColorsItem); diff --git a/Source/diablo.cpp b/Source/diablo.cpp index 3fcb8df49..2265f4163 100644 --- a/Source/diablo.cpp +++ b/Source/diablo.cpp @@ -2332,7 +2332,7 @@ void game_loop(bool bStartup) } TimeoutCursor(false); GameLogic(); - ClearLastSendPlayerCmd(); + ClearLastSentPlayerCmd(); if (!gbRunGame || !gbIsMultiplayer || demo::IsRunning() || demo::IsRecording() || !nthread_has_500ms_passed()) break; diff --git a/Source/msg.cpp b/Source/msg.cpp index 4b9c93d92..86ef5978a 100644 --- a/Source/msg.cpp +++ b/Source/msg.cpp @@ -2382,7 +2382,7 @@ size_t OnOpenCrypt(const TCmd *pCmd) } // namespace -void ClearLastSendPlayerCmd() +void ClearLastSentPlayerCmd() { lastSentPlayerCmd = {}; } diff --git a/Source/msg.h b/Source/msg.h index f2f86547d..ff956676a 100644 --- a/Source/msg.h +++ b/Source/msg.h @@ -752,8 +752,8 @@ bool IsValidLevel(uint8_t level, bool isSetLevel); void DeltaAddItem(int ii); void DeltaSaveLevel(); void DeltaLoadLevel(); -/** @brief Clears last send player command for the local player. This is used when a game tick changes. */ -void ClearLastSendPlayerCmd(); +/** @brief Clears last sent player command for the local player. This is used when a game tick changes. */ +void ClearLastSentPlayerCmd(); void NetSendCmd(bool bHiPri, _cmd_id bCmd); void NetSendCmdGolem(uint8_t mx, uint8_t my, Direction dir, uint8_t menemy, int hp, uint8_t cl); void NetSendCmdLoc(size_t playerId, bool bHiPri, _cmd_id bCmd, Point position);