Skip to content

Commit 549cc8f

Browse files
committed
Update CAutomobileSA.h
1 parent d5e2fd4 commit 549cc8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Client/game_sa/CAutomobileSA.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
#define MAX_PASSENGER_COUNT 8
2222
#define MAX_DOORS 6 // also in CDamageManager
23-
#define MAX_NODES 25
23+
#define CAR_NODES_NUM 25
2424

2525
class CBouncingPanelSAInterface
2626
{
@@ -38,7 +38,7 @@ class CAutomobileSAInterface : public CVehicleSAInterface
3838
public:
3939
CDamageManagerSAInterface m_damageManager;
4040
CDoorSAInterface m_doors[MAX_DOORS];
41-
RwFrame* m_aCarNodes[MAX_NODES];
41+
RwFrame* m_aCarNodes[CAR_NODES_NUM];
4242
CBouncingPanelSAInterface m_panels[3];
4343
CDoorSAInterface m_swingingChassis;
4444
CColPointSAInterface m_wheelColPoint[MAX_WHEELS];

0 commit comments

Comments
 (0)