# HG changeset patch
# User antonc27 <antonc27@mail.ru>
# Date 1446159686 -3600
# Node ID 407045ffe34302b0cd563ab17e3cee8a53022369
# Parent  62d1a66b353d97d48806ece3153ba1bdb9cb3e1c
- Better handling of cell's tag in SingleTeamViewController

diff -r 62d1a66b353d -r 407045ffe343 project_files/HedgewarsMobile/Classes/SingleTeamViewController.m
--- a/project_files/HedgewarsMobile/Classes/SingleTeamViewController.m	Thu Oct 29 23:59:51 2015 +0100
+++ b/project_files/HedgewarsMobile/Classes/SingleTeamViewController.m	Fri Oct 30 00:01:26 2015 +0100
@@ -225,8 +225,8 @@
                 editableCell = [[[EditableCellView alloc] initWithStyle:UITableViewCellStyleDefault
                                                reuseIdentifier:CellIdentifier1] autorelease];
                 editableCell.delegate = self;
-                editableCell.tag = [indexPath row];
             }
+            editableCell.tag = [indexPath row];
 
             hogArray = [self.teamDictionary objectForKey:@"hedgehogs"];