File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -637,15 +637,15 @@ public OnGameModeInit()
637
637
#endif
638
638
639
639
#if FOREACH_I_Player || FOREACH_I_Bot || FOREACH_I_Character
640
- #if defined FOREACH_I_Player
640
+ #if FOREACH_I_Player
641
641
Iter_Clear (Player);
642
642
#endif
643
643
644
- #if defined FOREACH_I_Bot
644
+ #if FOREACH_I_Bot
645
645
Iter_Clear (Bot);
646
646
#endif
647
647
648
- #if defined FOREACH_I_Character
648
+ #if FOREACH_I_Character
649
649
Iter_Clear (Character);
650
650
#endif
651
651
@@ -655,16 +655,16 @@ public OnGameModeInit()
655
655
}
656
656
657
657
if (! IsPlayerNPC (playerid)) {
658
- #if defined FOREACH_I_Player
658
+ #if FOREACH_I_Player
659
659
Iter_Add (Player, playerid);
660
660
#endif
661
661
} else {
662
- #if defined FOREACH_I_Bot
662
+ #if FOREACH_I_Bot
663
663
Iter_Add (Bot, playerid);
664
664
#endif
665
665
}
666
666
667
- #if defined FOREACH_I_Character
667
+ #if FOREACH_I_Character
668
668
Iter_Add (Character, playerid);
669
669
#endif
670
670
}
@@ -772,6 +772,8 @@ public OnGameModeInit()
772
772
}
773
773
#endif
774
774
775
+ #pragma unused LAST_PLAYER_ID, LAST_VEHICLE_ID, LAST_ACTOR_ID
776
+
775
777
#if defined Iter_OnGameModeInit
776
778
return Iter_OnGameModeInit ();
777
779
#else
You can’t perform that action at this time.
0 commit comments