project_files/HedgewarsMobile/Classes/AmmoMenuViewController.m
changeset 3984 d92509c2f255
parent 3981 928e2040d34f
child 3989 adffb668f06e
equal deleted inserted replaced
3983:aa24192417a8 3984:d92509c2f255
   277     self.extraLabel.text = nil;
   277     self.extraLabel.text = nil;
   278     self.captionLabel.text = nil;
   278     self.captionLabel.text = nil;
   279     if (theButton.currentTitle == nil) {
   279     if (theButton.currentTitle == nil) {
   280         HW_setWeapon(theButton.tag);
   280         HW_setWeapon(theButton.tag);
   281         playSound(@"clickSound");
   281         playSound(@"clickSound");
   282     }
   282         if (IS_DUALHEAD() == NO)
   283     if (IS_DUALHEAD() == NO)
   283             [self disappear];
   284         [self disappear];
   284     }
   285 }
   285 }
   286 
   286 
   287 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
   287 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
   288     /*
   288     /*
   289     NSSet *allTouches = [event allTouches];
   289     NSSet *allTouches = [event allTouches];