Skip to content

Commit

Permalink
Removed the (encrypted) tag from radio since it was breaking people's…
Browse files Browse the repository at this point in the history
… UIs
  • Loading branch information
luciensadi committed Jul 1, 2024
1 parent 8ab9eb6 commit 3c77ef4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/act.comm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -990,12 +990,12 @@ ACMD(do_broadcast)
if (crypt_lvl)
snprintf(untouched_message, sizeof(untouched_message), "^y\\%s^y/[%d MHz, %s](CRYPTO-%d): %s^N", voice, frequency, skills[language].name, crypt_lvl, capitalized_and_punctuated);
else
snprintf(untouched_message, sizeof(untouched_message), "^y\\%s^y/[%d MHz, %s](Encrypted): %s^N", voice, frequency, skills[language].name, capitalized_and_punctuated);
snprintf(untouched_message, sizeof(untouched_message), "^y\\%s^y/[%d MHz, %s]: %s^N", voice, frequency, skills[language].name, capitalized_and_punctuated);
} else {
if (crypt_lvl)
snprintf(untouched_message, sizeof(untouched_message), "^y\\%s^y/[All Frequencies, %s](CRYPTO-%d): %s^N", voice, skills[language].name, crypt_lvl, capitalized_and_punctuated);
else
snprintf(untouched_message, sizeof(untouched_message), "^y\\%s^y/[All Frequencies, %s](Encrypted): %s^N", voice, skills[language].name, capitalized_and_punctuated);
snprintf(untouched_message, sizeof(untouched_message), "^y\\%s^y/[All Frequencies, %s]: %s^N", voice, skills[language].name, capitalized_and_punctuated);
}

if (PRF_FLAGGED(ch, PRF_NOREPEAT))
Expand Down Expand Up @@ -1112,8 +1112,6 @@ ACMD(do_broadcast)
// Append crypt info to radio string (if any).
if (crypt_lvl) {
snprintf(ENDOF(radio_string), sizeof(radio_string) - strlen(radio_string), "(CRYPTO-%d)", crypt_lvl);
} else {
strlcat(radio_string, "(Encrypted)", sizeof(radio_string));
}

// If we have bad reception, add the static modifier.
Expand Down

0 comments on commit 3c77ef4

Please sign in to comment.