From 2a1b4418ad6d3deb4eedf141e9b2552ec5f7ca08 Mon Sep 17 00:00:00 2001 From: terminx Date: Sun, 23 Jul 2006 21:12:46 +0000 Subject: [PATCH] Minor fixes git-svn-id: https://svn.eduke32.com/eduke32@247 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/build/src/polymost.c | 2 +- polymer/eduke32/source/osdcmds.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/polymer/build/src/polymost.c b/polymer/build/src/polymost.c index e9e0caf11..72e50372a 100644 --- a/polymer/build/src/polymost.c +++ b/polymer/build/src/polymost.c @@ -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; diff --git a/polymer/eduke32/source/osdcmds.c b/polymer/eduke32/source/osdcmds.c index f880c5b60..e601bc097 100644 --- a/polymer/eduke32/source/osdcmds.c +++ b/polymer/eduke32/source/osdcmds.c @@ -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;