06-29-2017, 06:39 PM
Clang is giving you a very mild case of "undefined behavior". You're passing a value that is not a valid eMaterial into the function, so the compiler is free to do anything, including launching a nuke towards your location
Weird thing is that this should have been caught in the API layer, I thought we had enum minmax protection in ToLua++.
Weird thing is that this should have been caught in the API layer, I thought we had enum minmax protection in ToLua++.