Skip to content

Commit

Permalink
Choose more descriptive name for CMShowCharacter
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrezm committed Apr 9, 2022
1 parent 3a67570 commit d64e006
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/courtroom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ void Courtroom::handle_chatmessage(QStringList p_contents)
for (int i = 0; i < MESSAGE_SIZE; ++i)
m_chatmessage[i] = p_contents[i];

m_hide_character = m_chatmessage[CMShowCharacter].toInt();
m_hide_character = m_chatmessage[CMHideCharacter].toInt();
m_play_pre = false;
m_play_zoom = false;
const int l_emote_mod = m_chatmessage[CMEmoteModifier].toInt();
Expand Down
2 changes: 1 addition & 1 deletion src/datatypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ enum ChatMessage : int32_t
CMTextColor,
CMShowName,
CMVideoName,
CMShowCharacter,
CMHideCharacter,
};

enum EmoteMod
Expand Down

0 comments on commit d64e006

Please sign in to comment.