mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-11-23 06:20:22 +00:00
[saco] Rename and match unnamed_100B4B50(...)
This commit is contained in:
parent
cf6eec3a3f
commit
51df0649e0
@ -138,7 +138,7 @@ void CCamera::FUNC_1009D660(CEntity *pEntity)
|
||||
if(pEntity) {
|
||||
MATRIX4X4 mat;
|
||||
pEntity->GetMatrix(&mat);
|
||||
if(unnamed_100B4B50(&mat.pos)) {
|
||||
if(FUNC_100B4B50(&mat.pos)) {
|
||||
InterpolatePosition(&mat.pos, &mat.pos, 100, 1);
|
||||
}
|
||||
}
|
||||
@ -152,7 +152,7 @@ void CCamera::FUNC_1009D6B0()
|
||||
|
||||
MATRIX4X4 mat;
|
||||
field_0->GetMatrix(&mat);
|
||||
if(unnamed_100B4B50(&mat.pos)) {
|
||||
if(FUNC_100B4B50(&mat.pos)) {
|
||||
InterpolatePosition(&mat.pos, &mat.pos, 100, 1);
|
||||
}
|
||||
}
|
||||
|
@ -1501,12 +1501,15 @@ DWORD __stdcall CRC32FromUpcaseString(char *szString)
|
||||
|
||||
|
||||
|
||||
bool unnamed_100B4B50(VECTOR *vecPos)
|
||||
bool FUNC_100B4B50(VECTOR *vecPos)
|
||||
{
|
||||
return
|
||||
vecPos->X < 20000.0f && vecPos->X > -20000.0f &&
|
||||
if( vecPos->X < 20000.0f && vecPos->X > -20000.0f &&
|
||||
vecPos->Y < 20000.0f && vecPos->Y > -20000.0f &&
|
||||
vecPos->Z < 100000.0f && vecPos->Z > -10000.0f;
|
||||
vecPos->Z < 100000.0f && vecPos->Z > -10000.0f )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
@ -53,7 +53,7 @@ BOOL IsFileOrDirectoryExists(char * szPath);
|
||||
|
||||
DWORD unnamed_100B6100(char *szString, int nMaxLen);
|
||||
|
||||
bool unnamed_100B4B50(VECTOR *vecPos);
|
||||
bool FUNC_100B4B50(VECTOR *vecPos);
|
||||
|
||||
BUILDING_TYPE * GamePool_GetBuilding();
|
||||
DUMMY_TYPE * GamePool_GetDummy();
|
||||
|
Loading…
Reference in New Issue
Block a user