/[hegemonie]/hegemonie/GameEngine/HgGame.m
ViewVC logotype

Diff of /hegemonie/GameEngine/HgGame.m

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by sebhorna, Thu May 22 15:08:21 2003 UTC revision 1.3 by dam, Sun Jun 22 20:58:45 2003 UTC
# Line 48  Line 48 
48    if (self != nil)    if (self != nil)
49      {      {
50        _name = RETAIN(name);        _name = RETAIN(name);
51        _players = AUTORELEASE([[NSMutableArray alloc] init]);        _players = [[NSMutableArray alloc] init];
52        _teams = AUTORELEASE([[NSMutableArray alloc] init]);        _teams = [[NSMutableArray alloc] init];
53        _map = nil;        _map = nil;
54        _objects = AUTORELEASE([[NSMutableArray alloc] init]);        _objects = [[NSMutableArray alloc] init];
55      }      }
56        
57    return self;    return self;
# Line 66  Line 66 
66    RELEASE(_players);    RELEASE(_players);
67    RELEASE(_teams);    RELEASE(_teams);
68    /* FIXME - map not declared */    /* FIXME - map not declared */
69  //   if (_map)  //TEST_RELEASE(_map);
 //       RELEASE(_map);  
70    RELEASE(_objects);    RELEASE(_objects);
71    
72    [super dealloc];    [super dealloc];
# Line 198  Line 197 
197    return _objects;    return _objects;
198  }  }
199    
200  @end  @end
   
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26