--- a/hedgewars/uChat.pas Sun Jan 19 00:18:28 2014 +0400
+++ b/hedgewars/uChat.pas Tue Jan 21 22:38:13 2014 +0100
@@ -42,7 +42,7 @@
Width: LongInt;
s: shortstring;
end;
- TChatCmd = (quit, pause, finish, showhistory, fullscreen);
+ TChatCmd = (ccQuit, ccPause, ccFinish, ccShowHistory, ccFullScreen);
var Strs: array[0 .. MaxStrIndex] of TChatLine;
MStrs: array[0 .. MaxStrIndex] of shortstring;
@@ -228,7 +228,7 @@
else if (s[1] = '-') and (s[Length(s)] = '-') then
x:= 3;
-if not CurrentTeam^.ExtDriven and (x <> 0) then
+if (not CurrentTeam^.ExtDriven) and (x <> 0) then
for c:= 0 to Pred(TeamsCount) do
if (TeamsArray[c] = CurrentTeam) then
t:= c;