equal
deleted
inserted
replaced
170 begin |
170 begin |
171 if (code > 3) and KeyDown and (not ((CurrentBinds[code] = 'put')) or (CurrentBinds[code] = 'ammomenu') or (CurrentBinds[code] = '+cur_u') or (CurrentBinds[code] = '+cur_d') or (CurrentBinds[code] = '+cur_l') or (CurrentBinds[code] = '+cur_r')) and (CurrentTeam <> nil) and (not CurrentTeam^.ExtDriven) then bShowAmmoMenu:= false; |
171 if (code > 3) and KeyDown and (not ((CurrentBinds[code] = 'put')) or (CurrentBinds[code] = 'ammomenu') or (CurrentBinds[code] = '+cur_u') or (CurrentBinds[code] = '+cur_d') or (CurrentBinds[code] = '+cur_l') or (CurrentBinds[code] = '+cur_r')) and (CurrentTeam <> nil) and (not CurrentTeam^.ExtDriven) then bShowAmmoMenu:= false; |
172 if KeyDown then |
172 if KeyDown then |
173 begin |
173 begin |
174 Trusted:= Trusted and (not isPaused); //releasing keys during pause should be allowed on the other hand |
174 Trusted:= Trusted and (not isPaused); //releasing keys during pause should be allowed on the other hand |
175 |
175 |
176 if CurrentBinds[code] = 'switch' then |
176 if CurrentBinds[code] = 'switch' then |
177 LocalMessage:= LocalMessage or gmSwitch |
177 LocalMessage:= LocalMessage or gmSwitch |
178 else if CurrentBinds[code] = '+precise' then |
178 else if CurrentBinds[code] = '+precise' then |
179 LocalMessage:= LocalMessage or gmPrecise; |
179 LocalMessage:= LocalMessage or gmPrecise; |
180 |
180 |