summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 57a682f)
raw | patch | inline | side by side (parent: 57a682f)
author | Stas'M <x86corez@gmail.com> | |
Fri, 12 Jan 2018 21:45:27 +0000 (00:45 +0300) | ||
committer | Stas'M <x86corez@gmail.com> | |
Fri, 12 Jan 2018 21:45:27 +0000 (00:45 +0300) |
src/game/g_game.pas | patch | blob | history |
diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index ebb1387e79153cebaeeb33d2382545a2d2c44ebe..6d5717cbc99520a13079b81d6076320e822d6142 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
gChatSounds[i].Sound.SetByName('SOUND_CHAT_MACRO' + IntToStr(i));
SetLength(gChatSounds[i].Tags, tags);
for j := 0 to tags - 1 do
- gChatSounds[i].Tags[j] := LowerCase(cfg.ReadStr(IntToStr(i), 'Tag' + IntToStr(j), ''));
+ gChatSounds[i].Tags[j] := AnsiLowerCase(cfg.ReadStr(IntToStr(i), 'Tag' + IntToStr(j), ''));
gChatSounds[i].FullWord := cfg.ReadBool(IntToStr(i), 'FullWord', False);
end;
// remove player name
Delete(Text, 1, Pos(': ', Text) + 2 - 1);
// for FullWord check
- Text := LowerCase(' ' + Text + ' ');
+ Text := AnsiLowerCase(' ' + Text + ' ');
fpText := FilterPunctuation(Text);
for i := 0 to Length(gChatSounds) - 1 do