Skip to content
Snippets Groups Projects
Commit 2dd5f1ab authored by Monster Iestyn's avatar Monster Iestyn
Browse files

Fixes for lib_cvRegisterVar (the Lua version of CV_RegisterVar):

* Make sure the consvar's properties are all initialised to zeros as defaults
* Error if the consvar is not given a name
* Error if the consvar has CV_CALL but no call function
* Error if the consvar has CV_NOINIT but not CV_CALL
parent c50831f8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment