X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fthecheat;a=blobdiff_plain;f=SearchData.m;fp=SearchData.m;h=4e2e6722504496a2bbf52e5cc05775680f6377c1;hp=5a88e50fc15220e1eb91975d1361f99eadc8f58d;hb=179538478d0db2e5f8f2b50ccb3ff889b474aa01;hpb=ad02580588e2ca41f15ba8f9bd084561d8d485c2 diff --git a/SearchData.m b/SearchData.m index 5a88e50..4e2e672 100644 --- a/SearchData.m +++ b/SearchData.m @@ -48,6 +48,14 @@ } +- (void)setProcess:(Process *)process +{ + [process retain]; + [_process release]; + _process = process; +} + + - (TCVariableType)variableType { return _variableType; @@ -107,6 +115,7 @@ if ( !_variableValue ) { // create a zero value if there is none _variableValue = [[Variable alloc] init]; + [_variableValue setProcess:_process]; } return _variableValue; } @@ -165,6 +174,7 @@ TCArraySetElementAtIndex( _values, index, [value value] ); } } + } - (BOOL)valuesLoaded