mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-31 00:15:55 -04:00
it is undefined operation if these are null anyway... and the compiler doesn't like them because of null pointers, so...bye
This commit is contained in:
@@ -1184,7 +1184,7 @@ void AlterScheduler::moveObjectsFromAlterNextFrameListToAlterNowList(int schedul
|
||||
{
|
||||
PROFILER_AUTO_BLOCK_DEFINE("copy next frame");
|
||||
|
||||
if (s_alterNextFrameListFirst != NULL) {
|
||||
//if (s_alterNextFrameListFirst != NULL) {
|
||||
for (Object *object = s_alterNextFrameListFirst[schedulePhaseIndex]->getNextFromAlterNextFrameList(); object != NULL; )
|
||||
{
|
||||
//-- Add object to alter now list. This removes the object from the alter next frame list.
|
||||
@@ -1203,7 +1203,7 @@ void AlterScheduler::moveObjectsFromAlterNextFrameListToAlterNowList(int schedul
|
||||
//-- Increment loop.
|
||||
object = nextObject;
|
||||
}
|
||||
}
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user