Commit Graph
20 Commits
Author SHA1 Message Date
Richard Helgeby 387f59e2cb Simplify pre-check logic in ZTeleClient. 2015-03-22 18:52:31 +01:00
Richard Helgeby f323ca2768 Use new syntax in ZTeleMustBeHuman and ZTeleCanHumanTeleport. 2015-03-22 18:42:01 +01:00
Richard Helgeby 5b59f20858 Extract function ZTeleHasReachedLimit. 2015-03-22 18:39:45 +01:00
Richard Helgeby fcb4fdcab6 Extract function ZTeleCanHumanTeleport. 2015-03-22 18:21:17 +01:00
Richard Helgeby 7ce73b4493 Add InfectHasZombieSpawned. 2015-03-22 18:06:40 +01:00
Richard Helgeby 583984489b Extract function ZTeleMustBeHuman. 2015-03-22 17:55:16 +01:00
Richard Helgeby 918dd3100b Add ZTeleStopTimer to reduce duplicated code.
This change also requires that timers are stopped when clients disconnects.
2015-03-22 17:42:02 +01:00
Richard Helgeby 8e6d4f0f35 Fix compile error in class.api.inc.
Old code referenced non-existing function. We should have a getter function for selected classes, but I'm not doing this yet.
2015-03-21 15:52:56 +01:00
Richard Helgeby 542d3d345e Do not use deprecated GetClientAuthString native. 2015-03-21 15:45:29 +01:00
Richard Helgeby 5ec3694535 Update compiler and includes to version 1.7.0. 2015-03-21 15:43:24 +01:00
Richard Helgeby 743d17e05a Remove client check when resetting zombie flag on round end.
It doesn't matter whether the client is connected or not, all clients should reset to humans on round start anyways.

This may also fix a bug where mother zombies sometimes are not teleported to spawn, but it's unconfirmed (both the bug and the fix).
2015-02-12 19:01:23 +01:00
Richard Helgeby 8cf314bebf Fix typo in timer handle fix. 2014-09-14 14:05:40 +02:00
Richard Helgeby 8d6819c75c Fix invalid timer handle error when ambient sounds are disabled. 2014-09-14 14:03:53 +02:00
Richard Helgeby 42a2037f30 Add code guidelines document. 2014-07-30 19:00:46 +03:00
Richard Helgeby 3430e82b57 Normalize line endings. 2014-07-30 12:23:47 +03:00
Richard Helgeby f084dab794 Update compilers and includes to version 1.6.0. 2014-07-30 12:03:42 +03:00
Richard Helgeby 105a23bf32 Add .gitattributes to set correct line ending style on various files. 2014-07-27 11:46:02 +03:00
Richard Helgeby cd1d2d5723 Update build.sh script to use Git. 2014-07-27 11:09:33 +03:00
Richard Helgeby 0e6c2dc909 Add .gitignore. 2014-07-23 15:20:27 +02:00
Richard Helgeby a773746181 Fix updateversion.sh. Now using Git. 2014-07-23 14:40:48 +02:00