r1ch.net forums
* Home Help Search Login Register
r1ch.net  |  r1ch.net stuff  |  R1Q2  |  Topic: Console command suggestion/request
Pages: [1]
Print
Author Topic: Console command suggestion/request  (Read 1884 times)
Nick
Member

Posts: 211


« on: November 14, 2005, 03:04:32 pm »

A bit of a silly one, but maybe other Linux users would this too.

Using Linux in console/ssh all the time, almost everytime now I try to stop q2ded server with 'exit' - grrrr - instead of 'quit'.  Gets annoying after a few years.

A small hack:

Code:
qcommon/common.c

#ifndef NO_SERVER
        if (dedicated->intvalue) {
                Cmd_AddCommand ("quit", Com_Quit);
                Cmd_AddCommand ("exit", Com_Quit);
        }
#endif

Maybe just add an #ifdef Linux around it.  I find it handy as hell.

Nick
Logged
Pages: [1]
Print
r1ch.net  |  r1ch.net stuff  |  R1Q2  |  Topic: Console command suggestion/request
Jump to:  

Powered by SMF 1.1.19 | SMF © 2013, Simple Machines