hedgewars/uGearsUtils.pas
changeset 11848 6a0d6b00dac8
parent 11847 38e7206a5df4
child 11867 f6d33710baff
--- a/hedgewars/uGearsUtils.pas	Fri Sep 16 00:01:43 2016 +0200
+++ b/hedgewars/uGearsUtils.pas	Fri Sep 16 00:22:05 2016 +0200
@@ -1592,7 +1592,7 @@
 
 function IsHogLocal(HH: PHedgehog): boolean;
 begin
-    IsHogLocal:= (not (HH^.Team^.ExtDriven or (HH^.BotLevel > 0))) or (HH^.Team^.Clan^.ClanIndex = LocalClan);
+    IsHogLocal:= (not (HH^.Team^.ExtDriven or (HH^.BotLevel > 0))) or (HH^.Team^.Clan^.ClanIndex = LocalClan) or (GameType = gmtDemo);
 end;
 
 end.