fixed last check in. Test suite passes. Added comments on possible null pointer exceptions.
Updated XCode project file to include AIPlayerBaka classes. Added test suite to iOS build
This commit is contained in:
@@ -270,11 +270,9 @@ void DestroyGame(void)
|
||||
NSLog(@"EAGL View - init With Frame: origin(%f %f) size(%f %f)",
|
||||
frame.origin.x, frame.origin.y, frame.size.width, frame.size.height);
|
||||
|
||||
if ((self = [super initWithFrame:frame])) {
|
||||
|
||||
self = [self initialize];
|
||||
|
||||
}
|
||||
self = [super initWithFrame:frame];
|
||||
if (self)
|
||||
[self initialize];
|
||||
|
||||
return self;
|
||||
}
|
||||
@@ -283,9 +281,11 @@ void DestroyGame(void)
|
||||
//The EAGL view is stored in the nib file. When it's unarchived it's sent -initWithCoder:
|
||||
- (id)initWithCoder:(NSCoder*)coder
|
||||
{
|
||||
if (( self = [super initWithCoder:coder] ))
|
||||
self = [super initWithCoder:coder];
|
||||
|
||||
if (self)
|
||||
{
|
||||
self = [self initialize];
|
||||
[self initialize];
|
||||
}
|
||||
|
||||
return self;
|
||||
|
||||
Reference in New Issue
Block a user