Skip to content

Commit

Permalink
Fix some console messages
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeSlave committed Sep 24, 2024
1 parent 3d34aac commit 1b7467c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion cl_dll/environment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,6 @@ int CEnvironment::MsgFunc_Snow(const char *pszName, int iSize, void *pbuf)
const char* snowflakeSprite = READ_STRING();
if (snowflakeSprite && *snowflakeSprite)
{
gEngfuncs.Con_Printf("Snowflake sprite: %s\n", snowflakeSprite);
snowData.snowSprite = LoadSprite(snowflakeSprite);
}
else
Expand Down
4 changes: 2 additions & 2 deletions cl_dll/hud_caption.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ bool CHudCaption::ParseCaptionsFile()

if (tokenLength != 2 || !IsLatinLowerCase(pfile[currentTokenStart]) || !IsLatinLowerCase(pfile[currentTokenStart+1]))
{
gEngfuncs.Con_Printf("invalid caption profile for %s! Must be 2 lowercase latin characters\n", caption.name);
gEngfuncs.Con_Printf("invalid caption profile for \"%s\"! Must be 2 lowercase latin characters\n", caption.name);
ConsumeLine(pfile, i, length);
continue;
}
Expand All @@ -567,7 +567,7 @@ bool CHudCaption::ParseCaptionsFile()

if (!caption.profile)
{
gEngfuncs.Con_Printf("Could not find a caption profile %c%c for %s\n", firstLetter, secondLetter, caption.name);
gEngfuncs.Con_Printf("Could not find a caption profile '%c%c' for %s\n", firstLetter, secondLetter, caption.name);
}

SkipSpaces(pfile, i, length);
Expand Down

0 comments on commit 1b7467c

Please sign in to comment.