fixes ValveSoftware/halflife#1529
Merge pull request #1530 from ripieces/master

fixes ValveSoftware/halflife#1529