Skip to content

Commit 7fb9436

Browse files
lopezlooccw808
authored andcommitted
Fixed #8158 (setVehiclePlateText doesn't seem to change visual plate texture on most (if not all) motorcycles)
1 parent 2450e59 commit 7fb9436

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

MTA10/multiplayer_sa/CMultiplayerSA.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,6 +1425,10 @@ void CMultiplayerSA::InitHooks()
14251425
// Increase intensity of vehicle tail light corona
14261426
MemPut < BYTE > ( 0x6E1A22, 0xF0 );
14271427

1428+
// Skip vehicle type check in CVehicle::SetupRender & CVehicle::ResetAfterRender (fix for #8158)
1429+
MemSet ( (void*)0x6D6517, 0x90, 2 );
1430+
MemSet ( (void*)0x6D0E43, 0x90, 2 );
1431+
14281432
// Do not change visibility flag for water areas above level 950 (fix for #9159)
14291433
// do it only for Madd Dogg's mansion pool instead
14301434
MemPut ( 0x6E5869, &m_fMaddDoggPoolLevel );

0 commit comments

Comments
 (0)