Daemon icon indicating copy to clipboard operation
Daemon copied to clipboard

sgame support for the new Cmd System

Open t4im opened this issue 8 years ago • 0 comments

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.

t4im avatar Oct 26 '18 22:10 t4im