string normal_or_gentle(string normal, string gentle)
{
-#ifdef CSQC
+ #ifdef CSQC
if(autocvar_cl_gentle || autocvar_cl_gentle_messages)
-#else
+ #else
if(autocvar_sv_gentle)
-#endif
+ #endif
return ((gentle != "") ? gentle : normal);
else
return normal;
void Map_MarkAsRecent(string m);
float world_already_spawned;
void RegisterWeapons();
+void DecNotifs();
void Nagger_Init();
void ClientInit_Spawn();
void WeaponStats_Init();
// needs to be done so early because of the constants they create
RegisterWeapons();
RegisterGametypes();
+ DecNotifs();
ServerProgsDB = db_load(strcat("server.db", autocvar_sessionid));
FOR_EACH_REALPLAYER(tmp_player)
{
if(tmp_player == sender)
- Send_Notification(MSG_CENTER, tmp_player, CENTER_CTF_EVENT_PASS_SENT, flag.netname, sender.netname, "");
+ Send_Notification(MSG_CENTER, tmp_player, CENTER_CTF_EVENT_PASS_SENT, flag.netname, player.netname, "");
else if(tmp_player == player)
Send_Notification(MSG_CENTER, tmp_player, CENTER_CTF_EVENT_PASS_RECEIVED, flag.netname, sender.netname, "");
else if(!IsDifferentTeam(tmp_player, sender))