View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-10-2021 , 05:12   Re: Development Roundup, We need you!
Reply With Quote #80

Quote:
Originally Posted by Natsheh View Post
a small bug in cstrike_const.inc file


PHP Code:
const CSW_ALL_WEAPONS      = (~(1<<CSW_VEST)); 
should be

PHP Code:
const CSW_ALL_WEAPONS      0xFFFFFF & ~0x01
Why do you think that? Do you have an example of code that is broken because of this? Also, wouldn't that remove CSW_P228 and CSW_G3SG1 through CSW_VESTHELM? Note that it is defined the same way in the cstrike module.

Additionally, if you can show it's actually a bug, you should create an issue on GitHub if you believe there is a bug.
__________________

Last edited by fysiks; 01-10-2021 at 05:32.
fysiks is offline