eventGuildListMA = [NSMutableArray new];
[self initFileDirectoryOthers];
+ [self initEventGuildList];
}
-(id)init{
-(IBAction)loadMap:(id)sender{
[self initLoadMapList];
+ [self initEventGuildList];
[loadMapWindow makeKeyAndOrderFront:nil];
loadMapChipFlag = true;
}
-(void)setEventGuildList{
- if([eventGuildBC1 state] != 0){
+ if([eventGuildBC1 state] != 0 && [eventGuildListMA count] > 0){
for(int i = 0;i < UCN;i++){
MF[MFselectedRow+1].MS.guildListRegist[i] = [[eventGuildListMA[i] valueForKey:@"chk"] intValue];
MF[MFselectedRow+1].MS.guildListRegistNum11 = [eventGuildTF1 intValue];
MF[MFselectedRow+1].MS.guildListRegistNum12 = [eventGuildTF2 intValue];
- }else if([eventGuildBC2 state] != 0){
+ }else if([eventGuildBC2 state] != 0 && [eventGuildListMA count] > 0){
for(int i = 0;i < UCN;i++){
MF[MFselectedRow+1].MS.guildListRegist2[i] = [[eventGuildListMA[i] valueForKey:@"chk"] intValue];
windowPoint.x = [TitleWindow frame].origin.x;
windowPoint.y = [TitleWindow frame].origin.y;
[MapEditorWindow setFrameOrigin:windowPoint];
+ [mapEditor initEventGuildList];
[TitleWindow close];
}
-(IBAction)ScenarioEditor:(id)sender{
<autoresizingMask key="autoresizingMask"/>
</scroller>
<scroller key="verticalScroller" verticalHuggingPriority="750" horizontal="NO" id="10395">
- <rect key="frame" x="465" y="1" width="16" height="480"/>
+ <rect key="frame" x="466" y="1" width="15" height="480"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
</scrollView>