From 4d5cc2814d18775c9ec5b43569d7a4ba668f6738 Mon Sep 17 00:00:00 2001 From: JezuzLizard Date: Fri, 4 Nov 2022 18:48:19 -0700 Subject: [PATCH] Fix compilation for new compiler. --- Perks and Pack on Farm and Depot/.gitignore | 3 +++ .../scripts/zm/zm_transit/perks_and_pack_main.gsc | 12 ++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 Perks and Pack on Farm and Depot/.gitignore diff --git a/Perks and Pack on Farm and Depot/.gitignore b/Perks and Pack on Farm and Depot/.gitignore new file mode 100644 index 0000000..0d06d2d --- /dev/null +++ b/Perks and Pack on Farm and Depot/.gitignore @@ -0,0 +1,3 @@ +\compiled +*.exe +*.bat diff --git a/Perks and Pack on Farm and Depot/scripts/zm/zm_transit/perks_and_pack_main.gsc b/Perks and Pack on Farm and Depot/scripts/zm/zm_transit/perks_and_pack_main.gsc index 437e68e..d353fc6 100644 --- a/Perks and Pack on Farm and Depot/scripts/zm/zm_transit/perks_and_pack_main.gsc +++ b/Perks and Pack on Farm and Depot/scripts/zm/zm_transit/perks_and_pack_main.gsc @@ -1,6 +1,6 @@ -#include maps/mp/zombies/_zm_utility; -#include maps/mp/_utility; -#include common_scripts/utility; +#include maps\mp\zombies\_zm_utility; +#include maps\mp\_utility; +#include common_scripts\utility; main() { @@ -10,9 +10,9 @@ main() { if ( location == "farm" || location == "transit" ) { - replaceFunc( common_scripts/utility::struct_class_init, ::struct_class_init_o ); - replaceFunc( maps/mp/zm_transit_utility::solo_tombstone_removal, ::solo_tombstone_removal ); - replaceFunc( maps/mp/zombies/_zm_perks::perk_machine_removal, ::perk_machine_removal ); + replaceFunc( common_scripts\utility::struct_class_init, ::struct_class_init_o ); + replaceFunc( maps\mp\zm_transit_utility::solo_tombstone_removal, ::solo_tombstone_removal ); + replaceFunc( maps\mp\zombies\_zm_perks::perk_machine_removal, ::perk_machine_removal ); level thread turn_perks_on(); } }