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

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