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:
@@ -431,3 +431,6 @@ void loadcrosshair(char *c)
|
||||
};
|
||||
|
||||
COMMAND(loadcrosshair, ARG_1STR);
|
||||
|
||||
void version() { alias("s", "ActionCube v0.91"); };
|
||||
COMMAND(version, ARG_NONE);
|
||||
@@ -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");
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user