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

+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)