From: vortex Date: Sun, 29 Nov 2009 00:31:15 +0000 (+0000) Subject: r_replacemaptexture: no printings for GAME_BLOODOMNICIDE X-Git-Tag: xonotic-v0.1.0preview~1120 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=af244fc9f75c3bb90cbe7f2acdabea43024f10a4;p=xonotic%2Fdarkplaces.git r_replacemaptexture: no printings for GAME_BLOODOMNICIDE git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9526 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rsurf.c b/gl_rsurf.c index 12c2fd7f..32e657dc 100644 --- a/gl_rsurf.c +++ b/gl_rsurf.c @@ -1285,7 +1285,8 @@ void R_ReplaceWorldTexture (void) skinframe_t *skinframe; if (!r_refdef.scene.worldmodel) { - Con_Printf("There is no worldmodel\n"); + if (gamemode != GAME_BLOODOMNICIDE) + Con_Printf("There is no worldmodel\n"); return; } m = r_refdef.scene.worldmodel; @@ -1298,7 +1299,8 @@ void R_ReplaceWorldTexture (void) } if(!cl.islocalgame || !cl.worldmodel) { - Con_Print("This command works only in singleplayer\n"); + if (gamemode != GAME_BLOODOMNICIDE) + Con_Print("This command works only in singleplayer\n"); return; } r = Cmd_Argv(1); @@ -1314,11 +1316,13 @@ void R_ReplaceWorldTexture (void) // t->skinframes[0] = skinframe; t->currentskinframe = skinframe; t->currentskinframe = skinframe; - Con_Printf("%s replaced with %s\n", r, newt); + if (gamemode != GAME_BLOODOMNICIDE) + Con_Printf("%s replaced with %s\n", r, newt); } else { - Con_Printf("%s was not found\n", newt); + if (gamemode != GAME_BLOODOMNICIDE) + Con_Printf("%s was not found\n", newt); return; } }