[modding] Add Actors (#113)

* fix

* Add Actors

* Refactor

* Update Game.cpp
This commit is contained in:
MegaMech
2024-10-15 18:54:38 -06:00
committed by GitHub
parent a0862b6a15
commit af81bad1f3
37 changed files with 637 additions and 488 deletions
-1
View File
@@ -53,7 +53,6 @@ void TrainCrossing::AICrossingBehaviour(s32 playerId) {
(set_vehicle_render_distance_flags(gPlayers[playerId].pos, TRAIN_CROSSING_AI_DISTANCE, 0))) {
if ((OnTriggered == 1) && ((Timer) > FRAMES_SINCE_CROSSING_ACTIVATED)) {
if ((sSomeNearestWaypoint > WaypointMin) && (sSomeNearestWaypoint < WaypointMax)) {
printf("STOP AI\n");
bStopAICrossing[playerId] = 1;
}
}