mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-29 21:47:12 +02:00
Changes required to compile on x64 and against extra compiler warnings.
This commit is contained in:
@ -100,13 +100,21 @@ public:
|
||||
bool operator >= (const CWeapon & w) const noexcept;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Implicit conversion to model identifier.
|
||||
* Implicit conversion to weapon identifier.
|
||||
*/
|
||||
operator SQInt32 () const noexcept
|
||||
{
|
||||
return m_ID;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Implicit conversion to weapon identifier.
|
||||
*/
|
||||
operator Int64 () const noexcept
|
||||
{
|
||||
return _SCI64(m_ID);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Implicit conversion to boolean.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user