mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-27 11:34:14 +01:00
No dw
This commit is contained in:
parent
5b119ca78d
commit
6bed421ce8
@ -14,10 +14,10 @@ void
|
|||||||
CMoneyMessage::Render()
|
CMoneyMessage::Render()
|
||||||
{
|
{
|
||||||
const float MAX_SCALE = 4.0f;
|
const float MAX_SCALE = 4.0f;
|
||||||
uint32 dwLifeTime = CTimer::GetTimeInMilliseconds() - m_nTimeRegistered;
|
uint32 nLifeTime = CTimer::GetTimeInMilliseconds() - m_nTimeRegistered;
|
||||||
if (dwLifeTime >= MONEY_MESSAGE_LIFETIME_MS) m_nTimeRegistered = 0;
|
if (nLifeTime >= MONEY_MESSAGE_LIFETIME_MS) m_nTimeRegistered = 0;
|
||||||
else {
|
else {
|
||||||
float fLifeTime = (float)dwLifeTime / MONEY_MESSAGE_LIFETIME_MS;
|
float fLifeTime = (float)nLifeTime / MONEY_MESSAGE_LIFETIME_MS;
|
||||||
RwV3d vecOut;
|
RwV3d vecOut;
|
||||||
float fDistX, fDistY;
|
float fDistX, fDistY;
|
||||||
if (CSprite::CalcScreenCoors(m_vecPosition + CVector(0.0f, 0.0f, fLifeTime), &vecOut, &fDistX, &fDistY, true)) {
|
if (CSprite::CalcScreenCoors(m_vecPosition + CVector(0.0f, 0.0f, fLifeTime), &vecOut, &fDistX, &fDistY, true)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user