Skip to content

Commit

Permalink
Move '#define TF2C' below other defines
Browse files Browse the repository at this point in the history
Putting defines above and removing the comment and compiling displays `lilac.sp(32) : error 417: cannot read from file: "tf2c"` error. This commit fixes that by putting the TF2C define below other defines so it should compile without any issues.
  • Loading branch information
RoonMoonlight committed Jan 18, 2023
1 parent e7dd86b commit 848b6ba
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions scripting/lilac.sp
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/


/* Uncomment this line to compile for Team Fortress 2 Classic.
* Note: Doing so means the compiled plugin won't work correctly
* for other source games. */
// #define TF2C


#include <sourcemod>
#include <sdktools_engine>
#include <sdktools_entoutput>
Expand All @@ -37,7 +30,10 @@
#endif
#define REQUIRE_PLUGIN
#define REQUIRE_EXTENSIONS

/* Uncomment below line to compile for Team Fortress 2 Classic.
* Note: Doing so means the compiled plugin won't work correctly
* for other source games. */
//#define TF2C

#pragma semicolon 1
#pragma newdecls required
Expand Down

0 comments on commit 848b6ba

Please sign in to comment.