sapphonie / sdk13-gigalib

library for sdk2013 mods to use if they so choose
MIT License
17 stars 6 forks source link

COM_GetModDirectory identifier not found #15

Closed KaydemonLP closed 9 months ago

KaydemonLP commented 10 months ago

It exists in the SDK, however, it's defined in a unintuitive cpp, its header does not include an extern. extern const char *COM_GetModDirectory(); should be added to the cpp then, or its function written manually.

Nbc66 commented 10 months ago

I think it would be easier to just take the existing function and plop it into the lib itself or you can specify that ppl should extern the function when they want to use the lib

sapphonie commented 9 months ago

fixed with HACK_COM_GetModDirectory() but it's also no longer used, lol