From 0e5a1c97219c224d90e53b54c5ea5ad65faf8fb5 Mon Sep 17 00:00:00 2001 From: Aaron Kimbre Date: Sat, 16 Apr 2022 23:33:44 -0500 Subject: [PATCH] fix comparator --- dScripts/CppScripts.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dScripts/CppScripts.cpp b/dScripts/CppScripts.cpp index 95269da..c81b01f 100644 --- a/dScripts/CppScripts.cpp +++ b/dScripts/CppScripts.cpp @@ -1,4 +1,4 @@ -//I can feel my soul being torn apart with every script added to this monstrosity. +//I can feel my soul being torn apart with every script added to this monstrosity. // skate fast eat trash // do you think god stays in heaven because he too lives in fear of what he's created? @@ -800,9 +800,9 @@ CppScripts::Script* CppScripts::GetScript(Entity* parent, const std::string& scr script = new BuccaneerValiantShip(); // FB - else if (scriptName = "scripts\\ai\\NS\\WH\\L_ROCKHYDRANT_BROKEN.lua") + else if (scriptName == "scripts\\ai\\NS\\WH\\L_ROCKHYDRANT_BROKEN.lua") script = new RockHydrantBroken(); - else if (scriptName = "L_NS_WH_FANS.lua") + else if (scriptName == "L_NS_WH_FANS.lua") script = new WhFans(); //Ignore these scripts: