mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Set the newly initialized vehicle driver to be NOBODY. This fixes jeep and possibly tank as well in autoresolve to play sounds of player merc.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9288 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -320,6 +320,7 @@ INT32 AddVehicleToList( INT16 sMapX, INT16 sMapY, INT32 sGridNo, UINT8 ubType )
|
||||
pVehicleList[ iCount ].iOutOfSound = gNewVehicle[ ubType ].iNewEnterVehicleSndID;
|
||||
pVehicleList[ iCount ].ubProfileID = ubType; //gNewVehicle[ ubType ].ubNewVehicleTypeProfileID;//gNewVehicle[ ubType ].uiIndex; //gNewVehicle[ ubType ].ubNewVehicleTypeProfileID; //
|
||||
pVehicleList[ iCount ].ubMovementGroup = gubVehicleMovementGroups[ iCount ];
|
||||
pVehicleList[ iCount ].ubDriver = NOBODY;
|
||||
|
||||
// ATE: Add movement mask to group...
|
||||
pGroup = GetGroup( pVehicleList[ iCount ].ubMovementGroup );
|
||||
|
||||
Reference in New Issue
Block a user