FULLPIPE: Implemented StaticANIObject::countMovements()
This commit is contained in:
parent
4d215a849d
commit
74b662516d
6 changed files with 43 additions and 3 deletions
|
@ -384,6 +384,16 @@ bool CGameVar::addSubVar(CGameVar *subvar) {
|
|||
return false;
|
||||
}
|
||||
|
||||
int CGameVar::getSubVarsCount() {
|
||||
int res;
|
||||
CGameVar *sub = _subVars;
|
||||
|
||||
for (res = 0; sub; res++)
|
||||
sub = sub->_nextVarObj;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
Sc2::Sc2() {
|
||||
_sceneId = 0;
|
||||
_field_2 = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue