mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-06-28 03:13:13 -04:00
cleanup
This commit is contained in:
+1
-1
@@ -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,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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user