mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-11 18:51:16 +00:00
Fix formatting issue
This commit is contained in:
parent
57c19275a1
commit
6955c0732a
@ -350,8 +350,7 @@ MxCore* LegoObjectFactory::Create(const char* p_name)
|
||||
else if (m_idCarRace == atom) {
|
||||
object = new CarRace();
|
||||
}
|
||||
else if (m_idLegoRaceCarBuildState == atom || m_idLegoCopterBuildState == atom ||
|
||||
m_idLegoDuneCarBuildState == atom || m_idLegoJetskiBuildState == atom) {
|
||||
else if (m_idLegoRaceCarBuildState == atom || m_idLegoCopterBuildState == atom || m_idLegoDuneCarBuildState == atom || m_idLegoJetskiBuildState == atom) {
|
||||
object = new LegoVehicleBuildState(p_name);
|
||||
}
|
||||
else if (m_idHospitalState == atom) {
|
||||
|
||||
@ -453,8 +453,7 @@ void LegoWorld::Add(MxCore* p_object)
|
||||
|
||||
m_entityList->Append((LegoEntity*) p_object);
|
||||
}
|
||||
else if (p_object->IsA("LegoLocomotionAnimPresenter") || p_object->IsA("LegoHideAnimPresenter") ||
|
||||
p_object->IsA("LegoLoopingAnimPresenter")) {
|
||||
else if (p_object->IsA("LegoLocomotionAnimPresenter") || p_object->IsA("LegoHideAnimPresenter") || p_object->IsA("LegoLoopingAnimPresenter")) {
|
||||
MxPresenterListCursor cursor(&m_animPresenters);
|
||||
|
||||
if (cursor.Find((MxPresenter*) p_object)) {
|
||||
@ -524,8 +523,7 @@ void LegoWorld::Remove(MxCore* p_object)
|
||||
((MxControlPresenter*) p_object)->VTable0x68(TRUE);
|
||||
}
|
||||
}
|
||||
else if (p_object->IsA("LegoLocomotionAnimPresenter") || p_object->IsA("LegoHideAnimPresenter") ||
|
||||
p_object->IsA("LegoLoopingAnimPresenter")) {
|
||||
else if (p_object->IsA("LegoLocomotionAnimPresenter") || p_object->IsA("LegoHideAnimPresenter") || p_object->IsA("LegoLoopingAnimPresenter")) {
|
||||
MxPresenterListCursor cursor(&m_animPresenters);
|
||||
|
||||
if (cursor.Find((MxPresenter*) p_object)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user