From a5be3b30571f6fc8156edd36f82fbce9e51ddc36 Mon Sep 17 00:00:00 2001 From: DEntisT Date: Wed, 2 Aug 2023 10:53:25 +0200 Subject: [PATCH] Add the ".pwn" file extension --- compiler/sc2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/sc2.c b/compiler/sc2.c index 3dc292e..7efb114 100644 --- a/compiler/sc2.c +++ b/compiler/sc2.c @@ -121,7 +121,7 @@ SC_FUNC void clearstk(void) SC_FUNC int plungequalifiedfile(char *name) { -static char *extensions[] = { ".i", ".inc", ".p", ".pawn" }; +static char *extensions[] = { ".i", ".inc", ".p", ".pawn", ".pwn" }; FILE *fp; char *ext; int ext_idx;