equal
deleted
inserted
replaced
169 if CurrentBinds[code][0] <> #0 then |
169 if CurrentBinds[code][0] <> #0 then |
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 |
|
175 |
174 if CurrentBinds[code] = 'switch' then |
176 if CurrentBinds[code] = 'switch' then |
175 LocalMessage:= LocalMessage or gmSwitch |
177 LocalMessage:= LocalMessage or gmSwitch |
176 else if CurrentBinds[code] = '+precise' then |
178 else if CurrentBinds[code] = '+precise' then |
177 LocalMessage:= LocalMessage or gmPrecise; |
179 LocalMessage:= LocalMessage or gmPrecise; |
178 |
180 |