Closed Pheubel closed 3 years ago
with the new merge, is this issue resolved?
yeah, i gave it a spin and it works. As a side effect, it can now be build on linux with sourcemod 1.10 :)
(sourcemod 1.11 seems to currently have some funky behavior with value macros relying on other value macros, if i change this to the would've been value it works just fine. so i assume it is just a bug that accidentally got introduced somewhere along the lines.)
side note: it might be useful if new collaborators that work from windows know that they need to use SM 1.11, as i don't know if this fix will be back-ported to 1.10
I forgot that this also affected freak fortress 2, it was pretty sloppy of me to not take it into account. #181 should do the trick
The include behavior in modules/bosses.sp and modules/handler.sp is based on the current way spcomp handles include paths. However due to a bug it would not properly set the relative path to the current file on non linux platforms.
This bug has been addressed in this PR, as a result the relative path for including will be based on the directory of the file, like it would be if it were to be compiled from linux.
what would have to change:
For
modules/bosses.sp
the changed file would look like this:For
modules/handler.sp
we only have to change line 7 to:This change will make cross platform development more consistent, however this will most likely add a higher minimal development version for building on windows.