theAsmodai / metamod-r

Metamod is a plugin/DLL manager that sits between the Half-Life Engine and an HL Game mod, allowing the dynamic loading/unloading of mod-like DLL plugins to add functionality to the HL server or game mod. Metamod-r is improved version of metamod.
GNU General Public License v3.0
139 stars 35 forks source link

Problem compiling with ICC 19 #44

Closed vladsol closed 2 years ago

vladsol commented 5 years ago

https://github.com/theAsmodai/metamod-r/blob/0cf2f709dbeae18ca84d2fafd4481ffbba06ad0c/metamod/src/sys_module.cpp#L145

Is it ok to use "false" here? Looks like ICC don't like that. /home/user/build/metamod-r/metamod/src/sys_module.cpp(145): error: return value type does not match the function type return false; ^

WPMGPRoSToTeMa commented 5 years ago

There should be INVALID_HANDLE.

stamepicmorg commented 2 years ago

fixed