no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@648 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-11-13 21:17:09 +00:00
parent dbad609062
commit 099c74e63f
3 changed files with 5 additions and 4 deletions
+3
View File
@@ -431,3 +431,6 @@ void loadcrosshair(char *c)
};
COMMAND(loadcrosshair, ARG_1STR);
void version() { alias("s", "ActionCube v0.91"); };
COMMAND(version, ARG_NONE);
+1 -1
View File
@@ -453,7 +453,7 @@ bool vote(char *map, int reqmode, int sender)
else no++;
};
if(yes==1 && no==0) return true; // single player
s_sprintfd(msg)("%s suggests \"%s\" on map %s (set map to vote)", clients[sender]->name, modestr(reqmode), map);
s_sprintfd(msg)("%s suggests mode \"%s\" on map %s (set map to vote)", clients[sender]->name, modestr(reqmode), map);
sendservmsg(msg);
if(yes/(float)(yes+no) <= 0.5f && !clients[sender]->ismaster) return false;
sendservmsg("vote passed");
+1 -3
View File
@@ -529,9 +529,7 @@ void spreadandrecoil(vec &from, vec &to, playerent *d)
spd = 70;
rcl += (rnd(8)*-0.01f);
};
// fixme, tmp change
if((d->gunselect==GUN_SNIPER) /*&& (d->vel.x<.25f && d->vel.y<.25f)*/ && scoped)
{
spd = 1;