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

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

No files matched your search

+1 -1
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"
+5 -1
View File
@@ -405,7 +405,11 @@ ApplyZombieNightVision(client)
{
new bool:nvgs = GetClassNVGs(pClass[client]);
NightVision(client, nvgs);
NightVisionOn(client, nvgs);
if (bZVision[client])
{
NightVisionOn(client, nvgs);
}
}
ApplyZombieFOV(client)