Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 9320a04

Browse files
committed
Const playerScreen
1 parent c5f425e commit 9320a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Entities/Activity.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ void Activity::Clear() {
286286

287287
// Intentionally doing all players, all need controllers
288288
for (short player = Players::PlayerOne; player < Players::MaxPlayerCount; ++player) {
289-
short playerScreen = ScreenOfPlayer(player);
289+
const short playerScreen = ScreenOfPlayer(player);
290290
m_ViewState[player] = ViewState::Normal;
291291
g_FrameMan.ClearScreenText(playerScreen);
292292
if (playerScreen >= 0) {

0 commit comments

Comments
 (0)