File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2
Generals/Code/Libraries/Source/WWVegas/WW3D2 Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -216,11 +216,8 @@ int HRawAnimClass::Load_W3D(ChunkLoadClass & cload)
216216 strlcat (Name, " ." , ARRAY_SIZE (Name));
217217 strlcat (Name, aheader.Name , ARRAY_SIZE (Name));
218218
219- // TSS chasing crash bug 05/26/99
220- WWASSERT (HierarchyName != NULL );
221- WWASSERT (aheader.HierarchyName != NULL );
222- static_assert (ARRAY_SIZE (HierarchyName) >= ARRAY_SIZE (aheader.HierarchyName ), " Incorrect array size" );
223- strcpy (HierarchyName, aheader.HierarchyName );
219+ static_assert (ARRAY_SIZE (HierarchyName) >= ARRAY_SIZE (aheader.HierarchyName ), " Incorrect array size" );
220+ strcpy (HierarchyName, aheader.HierarchyName );
224221
225222 HTreeClass * base_pose = WW3DAssetManager::Get_Instance ()->Get_HTree (HierarchyName);
226223 if (base_pose == NULL ) {
Original file line number Diff line number Diff line change @@ -216,11 +216,8 @@ int HRawAnimClass::Load_W3D(ChunkLoadClass & cload)
216216 strlcat (Name, " ." , ARRAY_SIZE (Name));
217217 strlcat (Name, aheader.Name , ARRAY_SIZE (Name));
218218
219- // TSS chasing crash bug 05/26/99
220- WWASSERT (HierarchyName != NULL );
221- WWASSERT (aheader.HierarchyName != NULL );
222- static_assert (ARRAY_SIZE (HierarchyName) >= ARRAY_SIZE (aheader.HierarchyName ), " Incorrect array size" );
223- strcpy (HierarchyName, aheader.HierarchyName );
219+ static_assert (ARRAY_SIZE (HierarchyName) >= ARRAY_SIZE (aheader.HierarchyName ), " Incorrect array size" );
220+ strcpy (HierarchyName, aheader.HierarchyName );
224221
225222 HTreeClass * base_pose = WW3DAssetManager::Get_Instance ()->Get_HTree (HierarchyName);
226223 if (base_pose == NULL ) {
You can’t perform that action at this time.
0 commit comments