Fixed night vision state not remembered. If zomibes turn off zvision, nvgs will be off next time too.

This commit is contained in:
richard 2008-10-10 18:23:08 +02:00
parent f674e86688
commit 4aff5dd122
4 changed files with 28 additions and 14 deletions

View File

@ -1,27 +1,33 @@
2008.10.08 - 2.5.1.5
2008.10.10 - 2.5.1.6 - Richard
* Fixed night vision state not remembered. If zomibes turn off zvision, nvgs
will be off next time too.
2008.10.08 - 2.5.1.5 - Richard
* Fixed invalid client index errors.
2008.10.08 - 2.5.1.4
2008.10.08 - 2.5.1.4 - Richard
* Fixed zombie moans not looping when interval is 0 (disabled).
2008.10.08 - 2.5.1.3
2008.10.08 - 2.5.1.3 - Richard
* Made the console commands zr_set_class_knockback and zr_get_class_knockback.
2008.10.07 - 2.5.1.2
* Added support for overriding class nvgs with the CVAR. -1: Disable override, 0/1: Off/On
2008.10.07 - 2.5.1.2 - Richard
* Added support for overriding class nvgs with the CVAR.
-1: Disable override, 0/1: Off/On
2008.09.21 - 2.5.1.1
2008.09.21 - 2.5.1.1 - mbalex
* Added centered counter for spawn protection.
* Made chat commands visible to other players.
* Made unlimited ammo and hit sounds scripts part of the patch.
* Added public CVars zombie_enabled and zombie_version.
* IsClientConnected must always be before IsClientInGame, because IsClientInGame does not implicit call it.
* IsClientConnected must always be before IsClientInGame, because
IsClientInGame does not implicit call it.
2008.09.20 - 2.5.1
* Fixed spawn protection not protecting against zombies.
* Made protected players invisible and move faster.
* Changed class knockback to be a multiplier of the default knockback.
* Fixed spawn protection not protecting against zombies. (Richard)
* Made protected players invisible and move faster. (mbalex)
* Changed class knockback to be a multiplier of the default knockback. (Richard)
2008.09.17 - 2.5.1
* Added support for alpha values in classes.
* Added support for alpha values in classes. (mbalex)

View File

@ -15,7 +15,7 @@
#undef REQUIRE_PLUGIN
#include <market>
#define VERSION "2.5.1.5"
#define VERSION "2.5.1.6"
#include "zr/zombiereloaded"
#include "zr/global"

View File

@ -405,7 +405,11 @@ ApplyZombieNightVision(client)
{
new bool:nvgs = GetClassNVGs(pClass[client]);
NightVision(client, nvgs);
if (bZVision[client])
{
NightVisionOn(client, nvgs);
}
}
ApplyZombieFOV(client)

View File

@ -38,3 +38,7 @@ Section content is listed in order of importance. Some of these can be ideas too
* zombie.inc:KnockBack / cvars.inc
Make a CVAR for setting shotgun/hegrenade knockback boost. The zombies don't
fly away that much.
* Fix some zombies not able to zombify some humans when using the infect command
before the first zombie. (make him a mother zombie, kill infect timer, set some
switches)