error C2065: 'QUALITY_VALVE' : undeclared identifier

LOL

-----Original Message-----
From: Spencer 'voogru' MacDonald [mailto:[email protected]] 
Sent: Tuesday, September 08, 2009 12:06 PM
To: 'Half-Life dedicated Win32 server mailing list'
Subject: Re: [hlds] [TF2] Valve using their special weapons

People people people,

There are much more elegant ways to deal with this than banning valve.

if(pWeapon->GetItemQuality() == ITEM_QUALITY_VALVE) {
        pWeapon->AddAttribute("damage penalty", 0.0, true); //-100% damage
penalty.
}

Fixed.

Harmless as a butterfly.


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

Reply via email to