Decompile 2 functions in Source/Client/Mode/GameMode.cpp

Batch #17373 by eAthena: 2 byte-identical, 0 confirmed by peer review.

- fn_21342 CGameMode::ReloadScene: byte-identical
- fn_21359 CGameMode::InitializeCamera: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-11 22:10:31 +00:00
commit ecdd48ef4a

View file

@ -5440,18 +5440,18 @@ float g_outdoorCameraDistance = 300.0f;
// FUNCTION: fn_21359
void CGameMode::InitializeCamera() {
{
const float x = this->scene->player->render.position.x;
const float y = this->scene->player->render.position.y;
const float z = this->scene->player->render.position.z;
const float y = this->scene->player->render.position.y;
const float x = this->scene->player->render.position.x;
CView* view = this->camera;
view->camera.target[0] = x;
view->camera.target[1] = y;
view->camera.target[2] = z;
}
{
const float x = this->scene->player->render.position.x;
const float y = this->scene->player->render.position.y;
const float z = this->scene->player->render.position.z;
const float y = this->scene->player->render.position.y;
const float x = this->scene->player->render.position.x;
CView* view = this->camera;
view->camera.desiredTarget[0] = x;
view->camera.desiredTarget[1] = y;
@ -6754,9 +6754,9 @@ void CGameMode::ReloadScene() {
g_weatherEffect.ResetEffect();
this->mousePointer = new CMousePointer();
this->scene->objects.push_back(this->mousePointer);
const float x = this->scene->player->render.position.x;
const float y = this->scene->player->render.position.y;
const float z = this->scene->player->render.position.z;
const float y = this->scene->player->render.position.y;
const float x = this->scene->player->render.position.x;
this->camera->camera.target[0] = x;
this->camera->camera.target[1] = y;
this->camera->camera.target[2] = z;