X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=sv_user.c;h=9a06211c62c232c46ba41f00b56b68f728ac2959;hb=22ab5b495c2c169dc7755003294e5431ad300265;hp=372b09bd21332b9680f80bda34eb21a9f6735fa3;hpb=14a72d7a9ed9d10b3c47e7ff4b4b38664c4ac17a;p=xonotic%2Fdarkplaces.git diff --git a/sv_user.c b/sv_user.c index 372b09bd..9a06211c 100644 --- a/sv_user.c +++ b/sv_user.c @@ -66,7 +66,7 @@ void SV_SetIdealPitch (void) tr = SV_Move (top, vec3_origin, vec3_origin, bottom, MOVE_NOMONSTERS, sv_player); // if looking at a wall, leave ideal the way is was - if (tr.allsolid) + if (tr.startsolid) return; // near a dropoff @@ -727,6 +727,7 @@ void SV_ReadClientMessage(void) || strncasecmp(s, "ping", 4) == 0 || strncasecmp(s, "ban", 3) == 0 || strncasecmp(s, "pmodel", 6) == 0 + || strncasecmp(s, "rate", 4) == 0 || (gamemode == GAME_NEHAHRA && (strncasecmp(s, "max", 3) == 0 || strncasecmp(s, "monster", 7) == 0 || strncasecmp(s, "scrag", 5) == 0 || strncasecmp(s, "gimme", 5) == 0 || strncasecmp(s, "wraith", 6) == 0)) || (gamemode != GAME_NEHAHRA && (strncasecmp(s, "god", 3) == 0 || strncasecmp(s, "notarget", 8) == 0 || strncasecmp(s, "fly", 3) == 0 || strncasecmp(s, "give", 4) == 0 || strncasecmp(s, "noclip", 6) == 0))) Cmd_ExecuteString (s, src_client);