From 36aa88c2eb98b2f8672bfbdbb1d7c4155e262d32 Mon Sep 17 00:00:00 2001 From: RandumKiwi Date: Tue, 25 Jan 2011 08:35:24 +0000 Subject: [PATCH] add comment - reminder git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6044 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/server.cpp | 3 ++- source/src/server.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/source/src/server.cpp b/source/src/server.cpp index c30b2afa..03c1cc0e 100644 --- a/source/src/server.cpp +++ b/source/src/server.cpp @@ -1219,10 +1219,11 @@ void sendvoicecomteam(int sound, int sender) int spawntime(int type) { int np = numclients(); - np = np<3 ? 4 : (np>4 ? 2 : 3); // spawn times are dependent on number of players + np = np<3 ? 4 : (np>4 ? 2 : 3); // Some spawn times are dependent on the number of players. int sec = 0; switch(type) { + // Please update ./ac_website/htdocs/docs/introduction.html if these times change. case I_CLIPS: case I_AMMO: sec = np*2; break; case I_GRENADE: sec = np + 5; break; diff --git a/source/src/server.h b/source/src/server.h index 28ffa6d6..1adf93de 100644 --- a/source/src/server.h +++ b/source/src/server.h @@ -450,6 +450,7 @@ const char *entnames[MAXENTTYPES] = }; // see entity.h:61: struct itemstat { int add, start, max, sound; }; +// Please update ./ac_website/htdocs/docs/introduction.html if these figures change. itemstat ammostats[NUMGUNS] = { { 1, 1, 1, S_ITEMAMMO }, // knife dummy @@ -473,6 +474,7 @@ itemstat powerupstats[I_ARMOUR-I_HEALTH+1] = guninfo guns[NUMGUNS] = { + // Please update ./ac_website/htdocs/docs/introduction.html if these figures change. //mKR: mdl_kick_rot && mKB: mdl_kick_back //reI: recoilincrease && reB: recoilbase && reM: maxrecoil && reF: recoilbackfade //pFX: pushfactor