mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
Minor fixes
git-svn-id: https://svn.eduke32.com/eduke32@247 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
77b555a9c0
commit
2a1b4418ad
2 changed files with 5 additions and 1 deletions
|
@ -129,7 +129,7 @@ static struct glfiltermodes {
|
|||
|
||||
long glanisotropy = 1; // 0 = maximum supported by card
|
||||
long glusetexcompr = 1;
|
||||
long gltexfiltermode = GL_NEAREST;
|
||||
long gltexfiltermode = 0; // GL_NEAREST
|
||||
long glusetexcache = 0;
|
||||
long glusetexcachecompression = 1;
|
||||
long glmultisample = 0, glnvmultisamplehint = 0;
|
||||
|
|
|
@ -556,6 +556,10 @@ int osdcmd_give(const osdfuncparm_t *parm)
|
|||
int i;
|
||||
|
||||
if (numplayers == 1 && ps[myconnectindex].gm & MODE_GAME) {
|
||||
if(ps[myconnectindex].dead_flag != 0) {
|
||||
OSD_Printf("give: Cannot give while dead.\n");
|
||||
return OSDCMD_OK;
|
||||
}
|
||||
if (parm->numparms != 1) return OSDCMD_SHOWHELP;
|
||||
if (!Bstrcasecmp(parm->parms[0], "all")) {
|
||||
osdcmd_cheatsinfo_stat.cheatnum = 1;
|
||||
|
|
Loading…
Reference in a new issue