Daemon
Daemon copied to clipboard
sgame support for the new Cmd System
The new Cmd System doesn't allow to pass clientNum to its commands in the sgame
https://github.com/Unvanquished/Unvanquished/blob/e2966661aea62a4b86a4dd7b099b7ce261fcaf17/src/sgame/sg_api.cpp#L119-L124
As a result the sgame has no convenient way to know who called the command, which is required for many of them.
A simple StaticCmd registration (sgame namspace) also seems not yet to work as expected.