Fixed night vision state not remembered. If zomibes turn off zvision, nvgs will be off next time too.
This commit is contained in:
parent
f674e86688
commit
4aff5dd122
@ -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.
|
* 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).
|
* 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.
|
* Made the console commands zr_set_class_knockback and zr_get_class_knockback.
|
||||||
|
|
||||||
2008.10.07 - 2.5.1.2
|
2008.10.07 - 2.5.1.2 - Richard
|
||||||
* Added support for overriding class nvgs with the CVAR. -1: Disable override, 0/1: Off/On
|
* 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.
|
* Added centered counter for spawn protection.
|
||||||
* Made chat commands visible to other players.
|
* Made chat commands visible to other players.
|
||||||
* Made unlimited ammo and hit sounds scripts part of the patch.
|
* Made unlimited ammo and hit sounds scripts part of the patch.
|
||||||
* Added public CVars zombie_enabled and zombie_version.
|
* 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
|
2008.09.20 - 2.5.1
|
||||||
* Fixed spawn protection not protecting against zombies.
|
* Fixed spawn protection not protecting against zombies. (Richard)
|
||||||
* Made protected players invisible and move faster.
|
* Made protected players invisible and move faster. (mbalex)
|
||||||
* Changed class knockback to be a multiplier of the default knockback.
|
* Changed class knockback to be a multiplier of the default knockback. (Richard)
|
||||||
|
|
||||||
2008.09.17 - 2.5.1
|
2008.09.17 - 2.5.1
|
||||||
* Added support for alpha values in classes.
|
* Added support for alpha values in classes. (mbalex)
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#undef REQUIRE_PLUGIN
|
#undef REQUIRE_PLUGIN
|
||||||
#include <market>
|
#include <market>
|
||||||
|
|
||||||
#define VERSION "2.5.1.5"
|
#define VERSION "2.5.1.6"
|
||||||
|
|
||||||
#include "zr/zombiereloaded"
|
#include "zr/zombiereloaded"
|
||||||
#include "zr/global"
|
#include "zr/global"
|
||||||
|
@ -405,7 +405,11 @@ ApplyZombieNightVision(client)
|
|||||||
{
|
{
|
||||||
new bool:nvgs = GetClassNVGs(pClass[client]);
|
new bool:nvgs = GetClassNVGs(pClass[client]);
|
||||||
NightVision(client, nvgs);
|
NightVision(client, nvgs);
|
||||||
NightVisionOn(client, nvgs);
|
|
||||||
|
if (bZVision[client])
|
||||||
|
{
|
||||||
|
NightVisionOn(client, nvgs);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ApplyZombieFOV(client)
|
ApplyZombieFOV(client)
|
||||||
|
4
todo.txt
4
todo.txt
@ -38,3 +38,7 @@ Section content is listed in order of importance. Some of these can be ideas too
|
|||||||
* zombie.inc:KnockBack / cvars.inc
|
* zombie.inc:KnockBack / cvars.inc
|
||||||
Make a CVAR for setting shotgun/hegrenade knockback boost. The zombies don't
|
Make a CVAR for setting shotgun/hegrenade knockback boost. The zombies don't
|
||||||
fly away that much.
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user