Skip to content

Commit b8a13f6

Browse files
tweak: cleanup
1 parent 7c60d0a commit b8a13f6

File tree

3 files changed

+1
-27
lines changed

3 files changed

+1
-27
lines changed

Code/client/Services/Debug/DebugService.cpp

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -199,18 +199,7 @@ void DebugService::OnUpdate(const UpdateEvent& acUpdateEvent) noexcept
199199
{
200200
s_f7Pressed = true;
201201

202-
auto* pIdle = Cast<TESIdleForm>(TESForm::GetById(0x20023fe));
203-
204-
g_forceAnimation = true;
205-
auto* pActor = Cast<Actor>(TESForm::GetById(m_formId));
206-
BSFixedString str("LevitationToggle");
207-
//bool res = pActor->PlayAnimation(&str);
208-
bool res = pActor->SendAnimationEvent(&str);
209-
spdlog::error("{}", res);
210-
g_forceAnimation = false;
211-
212-
//auto* pIdle = Cast<TESIdleForm>(TESForm::GetById(0x20023fe));
213-
//PlayerCharacter::Get()->PlayIdle(pIdle);
202+
//
214203
}
215204
}
216205
else
@@ -223,18 +212,6 @@ void DebugService::OnUpdate(const UpdateEvent& acUpdateEvent) noexcept
223212
s_f8Pressed = true;
224213

225214
//PlaceActorInWorld();
226-
227-
BSFixedString str("isLevitating");
228-
uint32_t res = PlayerCharacter::Get()->GetAnimationVariableInt(&str);
229-
spdlog::error("{}", res);
230-
231-
#if 0
232-
auto* pObjForm = TESForm::GetById(0x2011a86);
233-
if (!pObjForm)
234-
spdlog::error("Not found");
235-
236-
EquipManager::Get()->Equip(PlayerCharacter::Get(), pObjForm, nullptr, 1, nullptr, false, true, false, false);
237-
#endif
238215
}
239216
}
240217
else

Code/client/Services/MagicService.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ struct MagicService
7272
*/
7373
void ApplyQueuedEffects() noexcept;
7474

75-
void RunVampireLordTransformationFinish(double aDelta) noexcept;
76-
7775
/**
7876
* Apply the "reveal players" effect on remote players.
7977
*/

Code/server/Services/CharacterService.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,6 @@ void CharacterService::OnRequestRespawn(const PacketEvent<RequestRespawn>& acMes
496496
auto& characterComponent = view.get<CharacterComponent>(*it);
497497
characterComponent.SaveBuffer = acMessage.Packet.AppearanceBuffer;
498498
characterComponent.ChangeFlags = acMessage.Packet.ChangeFlags;
499-
spdlog::info("Respawning with new buffer");
500499
}
501500

502501
NotifyRespawn notify;

0 commit comments

Comments
 (0)