Skip to content

Commit

Permalink
Censor password entry screens for multi rooms
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Dec 2, 2018
1 parent 6e0ae32 commit 0e6ef97
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ScreenNetRoom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ ScreenNetRoom::HandleScreenMessage(const ScreenMessage SM)
} else if (SM == SM_BackFromRoomDesc) {
if (!ScreenTextEntry::s_bCancelledLast) {
m_newRoomDesc = ScreenTextEntry::s_sLastAnswer;
ScreenTextEntry::TextEntry(
SM_BackFromRoomPass, ENTER_ROOM_PASSWORD, "", 255);
ScreenTextEntry::Password(
SM_BackFromRoomPass, ENTER_ROOM_PASSWORD);
}
} else if (SM == SM_BackFromRoomPass) {
if (!ScreenTextEntry::s_bCancelledLast) {
Expand Down Expand Up @@ -145,8 +145,8 @@ ScreenNetRoom::SelectCurrent()
if (rwd != nullptr) {
if (rwd->m_iFlags % 2 != 0u || rwd->hasPassword) {
m_sLastPickedRoom = rwd->m_sText;
ScreenTextEntry::TextEntry(
SM_BackFromReqPass, ENTER_ROOM_REQPASSWORD, "", 255);
ScreenTextEntry::Password(
SM_BackFromReqPass, ENTER_ROOM_REQPASSWORD);
} else {
NSMAN->EnterRoom(rwd->m_sText);
}
Expand Down

0 comments on commit 0e6ef97

Please sign in to comment.