# HG changeset patch # User Adam Kaminski # Date 1644191805 18000 # Sun Feb 06 18:56:45 2022 -0500 # Node ID 4f997c82a39f861efbbe4854259efd26cf2c4909 # Parent fab0c73eb12dceadc03474d5e352fa82e76c849c Fixed: pointer in BOTCMD_DoChatStringSubstitutions was checked incorrectly. diff -r fab0c73eb12d -r 4f997c82a39f src/botcommands.cpp --- a/src/botcommands.cpp Sun Feb 06 10:58:58 2022 -0500 +++ b/src/botcommands.cpp Sun Feb 06 18:56:45 2022 -0500 @@ -628,7 +628,7 @@ FString Output; const char *pszInString = Input.GetChars(); - for ( ; pszInString != 0; pszInString++ ) + for ( ; *pszInString != 0; pszInString++ ) { // Continue to copy the instring to the outstring until we hit a '$'. if ( *pszInString != '$' )