Skip to content

Commit 9889cef

Browse files
committed
1 parent f5a7596 commit 9889cef

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

Client/game_sa/CMarkerSA.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ void CMarkerSA::Init(void)
1515
{
1616
internalInterface->position = CVector(0, 0, 0);
1717
internalInterface->BlipType = (BYTE)MARKER_TYPE_COORDS;
18-
internalInterface->bTrackingBlip = 1;
1918
internalInterface->bBlipRemain = FALSE;
2019
// internalInterface->nColour = MARKER_COLOR_BLUE;
2120
// internalInterface->bBright = TRUE;

Client/game_sa/CWorldSA.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ void CWorldSA::RemoveReferencesToDeletedObject(CEntitySAInterface* entity)
174174
}
175175
}
176176

177+
// THIS FUNCTION IS INCOMPLETE AND SHOULD NOT BE USED
177178
bool CWorldSA::TestLineSphere(CVector* vecStart, CVector* vecEnd, CVector* vecSphereCenter, float fSphereRadius, CColPoint** colCollision)
178179
{
179-
// THIS FUNCTION IS INCOMPLETE AND SHOULD NOT BE USED
180180
// Create a CColLine for us
181181
DWORD dwFunc = FUNC_CColLine_Constructor;
182182
DWORD dwCColLine[10]; // I don't know how big CColLine is, so we'll just be safe

Shared/sdk/net/rpc_enums.h

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
11
/*****************************************************************************
22
*
3-
* PROJECT: Multi Theft Auto v1.0
3+
* PROJECT: Multi Theft Auto
44
* LICENSE: See LICENSE in the top level directory
55
* FILE: Shared/sdk/net/rpc_enums.h
6-
* PURPOSE: Lua common functions
6+
* PURPOSE: Lua RPC enums
77
*
88
* Multi Theft Auto is available from http://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

1212
#pragma once
1313

14+
/*
15+
HEY, YOU!
16+
17+
ONLY ADD ENUMS TO THE END OF THIS FILE,
18+
ABOVE `NUM_RPC_FUNCS`.
19+
20+
THANKS.
21+
*/
1422
enum eElementRPCFunctions
1523
{
1624
DONT_USE_0 = 0,
@@ -55,7 +63,6 @@ enum eElementRPCFunctions
5563
SET_PED_DOING_GANG_DRIVEBY,
5664
SET_PED_ANIMATION,
5765
SET_PED_ANIMATION_PROGRESS,
58-
SET_PED_ANIMATION_SPEED,
5966
SET_PED_ON_FIRE,
6067
SET_PED_HEADLESS,
6168
SET_PED_FROZEN,
@@ -249,9 +256,12 @@ enum eElementRPCFunctions
249256

250257
SET_TRAIN_TRACK,
251258
SET_TRAIN_POSITION,
252-
SET_ELEMENT_ANGULAR_VELOCITY,
253259

254260
SET_OBJECT_VISIBLE_IN_ALL_DIMENSIONS,
255261

256-
NUM_RPC_FUNCS
262+
SET_ELEMENT_ANGULAR_VELOCITY,
263+
264+
SET_PED_ANIMATION_SPEED,
265+
266+
NUM_RPC_FUNCS // Add above this line
257267
};

0 commit comments

Comments
 (0)