mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-06-17 23:41:00 -04:00
Merge branch 'transformfuncsforint' of https://github.com/HarbourMasters/SpaghettiKart into transformfuncsforint
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "engine/Actor.h"
|
||||
#include "World.h"
|
||||
#include "assets/common_data.h"
|
||||
#include "src/port/Game.h"
|
||||
|
||||
extern "C" {
|
||||
#include "macros.h"
|
||||
@@ -20,6 +21,10 @@ extern f32 gKartGravityTable[];
|
||||
AFinishline::AFinishline(std::optional<FVector> pos) {
|
||||
Name = "Finishline";
|
||||
|
||||
if (GetCup() == GetBattleCup()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (pos.has_value()) {
|
||||
// Set spawn point to the provided position
|
||||
Pos[0] = D_8015F8D0[0] = pos.value().x;
|
||||
|
||||
Reference in New Issue
Block a user