mirror of
https://github.com/halpz/re3.git
synced 2025-07-22 07:49:45 +00:00
Partial Pickups
This commit is contained in:
@ -40,10 +40,10 @@ CWeaponModelInfo::SetWeaponInfo(int32 weaponId)
|
||||
m_atomics[2] = (RpAtomic*)weaponId;
|
||||
}
|
||||
|
||||
int32
|
||||
eWeaponType
|
||||
CWeaponModelInfo::GetWeaponInfo(void)
|
||||
{
|
||||
return (int32)(uintptr)m_atomics[2];
|
||||
return (eWeaponType)(uintptr)m_atomics[2];
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "SimpleModelInfo.h"
|
||||
#include "WeaponType.h"
|
||||
|
||||
class CWeaponModelInfo : public CSimpleModelInfo
|
||||
{
|
||||
@ -18,5 +19,5 @@ public:
|
||||
|
||||
void Init(void);
|
||||
void SetWeaponInfo(int32 weaponId);
|
||||
int32 GetWeaponInfo(void);
|
||||
eWeaponType GetWeaponInfo(void);
|
||||
};
|
||||
|
Reference in New Issue
Block a user