• R/O
  • SSH

zandronum-sandbox-stable: Commit


Commit MetaInfo

Revision3f74636efbabbe43811b7781595575c0db39905f (tree)
Time2022-02-07 08:56:45
AuthorAdam Kaminski <kaminskiadam9@gmai...>
CommiterAdam Kaminski

Log Message

Fixed: pointer in BOTCMD_DoChatStringSubstitutions was checked incorrectly.

Change Summary

Incremental Difference

diff -r a81bb124128c -r 3f74636efbab src/botcommands.cpp
--- a/src/botcommands.cpp Sun Feb 06 10:38:24 2022 -0500
+++ b/src/botcommands.cpp Sun Feb 06 18:56:45 2022 -0500
@@ -628,7 +628,7 @@
628628 FString Output;
629629 const char *pszInString = Input.GetChars();
630630
631- for ( ; pszInString != 0; pszInString++ )
631+ for ( ; *pszInString != 0; pszInString++ )
632632 {
633633 // Continue to copy the instring to the outstring until we hit a '$'.
634634 if ( *pszInString != '$' )
Show on old repository browser