Fixed memory leak in SprayManager

This commit is contained in:
Obuss 2016-05-15 15:46:46 -05:00
parent d68ff2465f
commit 4c5e8ed775

View File

@ -65,7 +65,7 @@ public Plugin myinfo =
name = "Spray Manager",
description = "A plugin to help manage player sprays.",
author = "Obus",
version = "1.2.0",
version = "1.2.1",
url = "https://github.com/CSSZombieEscape/sm-plugins/tree/master/SprayManager"
}
@ -2203,6 +2203,8 @@ bool TracePlayerAnglesRanged(int client, float fMaxDistance)
return true;
}
CloseHandle(hTraceRay);
return false;
}