FULLPIPE: Implemented StaticANIObject::countMovements()

This commit is contained in:
Eugene Sandulenko 2013-07-28 15:53:43 +03:00
parent 4d215a849d
commit 74b662516d
6 changed files with 43 additions and 3 deletions

View file

@ -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;