hedgewars/uVisualGearsList.pas
branch0.9.24
changeset 13682 f60b3998ba56
parent 13550 d42237d16acf
equal deleted inserted replaced
13615:3561a457c11c 13682:f60b3998ba56
    61 var gear: PVisualGear;
    61 var gear: PVisualGear;
    62     t: Longword;
    62     t: Longword;
    63     sp: real;
    63     sp: real;
    64 begin
    64 begin
    65 AddVisualGear:= nil;
    65 AddVisualGear:= nil;
       
    66 if cOnlyStats then exit;  // stats only should never ever create a visual gear
    66 if (GameType <> gmtRecord) and
    67 if (GameType <> gmtRecord) and
    67    (((GameType = gmtSave) or (fastUntilLag and (GameType = gmtNet)) or fastScrolling) and // we are scrolling now
    68    (((GameType = gmtSave) or (fastUntilLag and (GameType = gmtNet)) or fastScrolling) and // we are scrolling now
    68    (not Critical)) then
    69    (not Critical)) then
    69        exit;
    70        exit;
    70 
    71