597 if CurAmmoGear <> nil then |
597 if CurAmmoGear <> nil then |
598 begin |
598 begin |
599 case CurAmmoGear^.Kind of |
599 case CurAmmoGear^.Kind of |
600 gtJetpack: begin |
600 gtJetpack: begin |
601 DrawSprite(sprJetpack, sx-32, sy-32, 0); |
601 DrawSprite(sprJetpack, sx-32, sy-32, 0); |
602 if (CurAmmoGear^.MsgParam and gm_Up) <> 0 then DrawSprite(sprJetpack, sx-32, sy-32, 1); |
602 if (CurAmmoGear^.MsgParam and gmUp) <> 0 then DrawSprite(sprJetpack, sx-32, sy-32, 1); |
603 if (CurAmmoGear^.MsgParam and gm_Left) <> 0 then DrawSprite(sprJetpack, sx-32, sy-32, 2); |
603 if (CurAmmoGear^.MsgParam and gmLeft) <> 0 then DrawSprite(sprJetpack, sx-32, sy-32, 2); |
604 if (CurAmmoGear^.MsgParam and gm_Right) <> 0 then DrawSprite(sprJetpack, sx-32, sy-32, 3); |
604 if (CurAmmoGear^.MsgParam and gmRight) <> 0 then DrawSprite(sprJetpack, sx-32, sy-32, 3); |
605 if CurAmmoGear^.Tex <> nil then DrawCentered(sx, sy - 40, CurAmmoGear^.Tex); |
605 if CurAmmoGear^.Tex <> nil then DrawCentered(sx, sy - 40, CurAmmoGear^.Tex); |
606 DrawAltWeapon(Gear, sx, sy) |
606 DrawAltWeapon(Gear, sx, sy) |
607 end; |
607 end; |
608 end; |
608 end; |
609 end |
609 end |