# HG changeset patch # User nemo # Date 1351037715 14400 # Node ID c27713b5e0521ce8a1ee64afbea7229deafd3fba # Parent 2a249a4faf5bbb7efed9eeca46f3cb14acaba445 missing nil test diff -r 2a249a4faf5b -r c27713b5e052 hedgewars/uCommands.pas --- a/hedgewars/uCommands.pas Tue Oct 23 16:52:13 2012 -0400 +++ b/hedgewars/uCommands.pas Tue Oct 23 20:15:15 2012 -0400 @@ -85,7 +85,7 @@ t: PVariable; c: char; begin -isExternalSource:= ExternalSource or CurrentTeam^.ExtDriven; +isExternalSource:= ExternalSource or ((CurrentTeam <> nil) and CurrentTeam^.ExtDriven); //WriteLnToConsole(CmdStr); if CmdStr[0]=#0 then exit;