Update packaging script to take advantage of GIT
Fix BASH vs KSH conflicts, by forcing user to use BASH.
Fixed reference to "scopesens" in old "zoom" script, because it is a variable nowadays, and not command.
Bug is visible clearly after typing  "/zoom 1".
This commit fixes bug related to bot mode, when it is started from non-bot mode.
To see this bug just start AC, run bot team mode and watch:
- "enemies" menu instead of  "team enemies" menu,
- number of players less by 2 than should be.
This commit adds simple fix to "changespeed" script.
It shouldn't work in multiplayer and when gamespeed is less than 10 and grather than 1000.
To test  bug type in multiplayer, for example: "/changespeed 1100 30" .
This commit fixes removing sleeps in "resetsleep" function.
To test this bug make, for example, 3 long-standing sleeps, add checking of number of sleeps before and after existing "loopv(sleep)",
and later  type "/resetsleeps" command in AC - result: 3 sleeps "before" and 1 remains "after".

Explanation by stef: after deleting elements from vectors there are no holes,
so if there were sleeps[0], sleeps[1] and sleeps[2], then after removing sleeps[0] there left
sleeps[0] and sleeps[1], so during next loop cycle this sleeps[0] is neglected (because i=1).

Commit just changes loopv to loopvrev (loop from end to begin).
Restoring previous conditions in setfollowplayer().
Current conditions appeared with commit: https://github.com/assaultcube/AC/commit/8f39911eb0725b22bb4dc3a50d3e89702afcc49c
The problem with its is, that when player is SPECTATOR,  then "/setfollowplayer CN" command works only on players in CLA team, and should work on all, like "changefollowplayer".
This commit fixes that. Thread related to this bug: http://forum.cubers.net/thread-7495.html
Updated .gitignore

Ignoring files that are created after make/make install
Merge branch 'grom' of github.com:aurhat/AC into aurhat-grom
Changes to .gitignore file

Listed all files created when starting without home argument
Merging pull request 33

Thanks grenadier!
Merge branch 'resetsleep' of github.com:aurhat/AC into aurhat-resetsleep
main: guard against rnd(0) in rndmapname

starting ac_client from the wrong working directory, where
packages/maps/official/*.cgz globs to an empty list, we
trigger a SIGFPE because of rnd(0):

Program received signal SIGFPE, Arithmetic exception.
0x000000000044d37d in rndmapname () at main.cpp:897
897	        char *map = newstring(maps[rnd(maps.length())]);
Merge pull request #35 from pmjdebruijn/master

main: guard against rnd(0) in rndmapname - thanks pmjdebruijn
menus_settings: add anisotropic filtering
Patch adds flags reset in ctf/htf mode after "shuffleteams".
Nowadays after teams rearrangemend flags are only dropped and don't return to base.
Changing the interval to 5 health points in menuslider for heartbeat
Fix of wrong "alive" status in scoreboard.
This commit fixes the issue: https://github.com/assaultcube/AC/issues/21
Player in spectate mode isn't dead, so when he switches from spectate to active mode, he is still non-dead.
Therefore d->state=="CS_DEAD" doesn't work in such cases.
This commit removes also some aimless line.
Merge pull request #40 from aurhat/wiosna

Fix of wrong "alive" status in scoreboard. Closes #21
Merge branch 'aniso' of github.com:pmjdebruijn/AC into pmjdebruijn-aniso