This commit is contained in:
MegaMech
2025-01-07 13:18:30 -07:00
parent 1b3e0ab2f6
commit 52e21e3750
2 changed files with 1 additions and 9 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
#include "main.h"
#include "spawn_players.h"
#include "enhancements/freecam/freecam_engine.h"
#include "freecam.h"
#include "enhancements/freecam/freecam.h"
#include "engine/GameAPI.h"
#include "port/Game.h"
-8
View File
@@ -8,7 +8,6 @@
extern "C" {
#include <macros.h>
#include <defines.h>
#include <camera.h>
#include "main.h"
#include <libc/math.h>
#include <common_structs.h>
@@ -89,13 +88,6 @@ void freecam(Camera* camera, Player* player, s8 index) {
gIsHUDVisible = !CVarGetInteger("gFreecam", 0);
}
// Driving mode
if (CVarGetInteger("gFreecam", 0) == 0) {
// Use normal camera code
func_8001E45C(camera, &gPlayers[fRankIndex], index);
return;
}
// Calculate forward direction
freecam_calculate_forward_vector_allow_rotation(camera, freeCam.forwardVector);