project_files/HedgewarsMobile/Classes/AmmoMenuViewController.m
changeset 4362 8dae325dc625
parent 4356 d1d26f8963a3
child 4853 afe24c4491ef
--- a/project_files/HedgewarsMobile/Classes/AmmoMenuViewController.m	Sun Nov 28 01:58:43 2010 +0100
+++ b/project_files/HedgewarsMobile/Classes/AmmoMenuViewController.m	Sun Nov 28 23:49:09 2010 +0100
@@ -40,11 +40,6 @@
 #pragma mark -
 #pragma mark view handling
 -(void) viewDidLoad {    
-    [[NSNotificationCenter defaultCenter] addObserver:self
-                                             selector:@selector(updateAmmoVisuals)
-                                                 name:@"updateAmmoVisuals"
-                                               object:nil];
-     
     self.view.frame = CGRectMake(0, 0, 480, 320);
     self.view.backgroundColor = [UIColor blackColor];
     self.view.layer.borderColor = [[UIColor whiteColor] CGColor];
@@ -344,7 +339,6 @@
 }
 
 -(void) viewDidUnload {
-    [[NSNotificationCenter defaultCenter] removeObserver:self];
     self.imagesArray = nil;
     self.buttonsArray = nil;
     self.nameLabel = nil;