maintenance: minor code cleanup

This commit is contained in:
tmj-fstate
2017-10-30 02:34:54 +01:00
parent ffcd3b40c9
commit 9edf912405
11 changed files with 95 additions and 121 deletions

View File

@@ -413,14 +413,6 @@ TAnimModel::TAnimModel( scene::node_data const &Nodedata ) : basic_node( Nodedat
}
}
TAnimModel::TAnimModel() {
// TODO: wrap these in a tuple and move to underlying model
for( int index = 0; index < iMaxNumLights; ++index ) {
LightsOn[index] = LightsOff[index] = nullptr; // normalnie nie ma
lsLights[index] = ls_Off; // a jeśli są, to wyłączone
}
}
TAnimModel::~TAnimModel()
{
delete pAdvanced; // nie ma zaawansowanej animacji