mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
changed several variable names for body types to 'ubBodyType', as this is more consistent and allows wider use of macros
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7961 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -469,10 +469,10 @@ void UpdateOldVersionMap()
|
||||
while( curr )
|
||||
{
|
||||
//Bug 11) Convert all wheelchaired placement bodytypes to cows. Result of change in the animation database.
|
||||
if( curr->pDetailedPlacement && curr->pDetailedPlacement->bBodyType == CRIPPLECIV )
|
||||
if( curr->pDetailedPlacement && curr->pDetailedPlacement->ubBodyType == CRIPPLECIV )
|
||||
{
|
||||
curr->pDetailedPlacement->bBodyType = COW;
|
||||
curr->pBasicPlacement->bBodyType = COW;
|
||||
curr->pDetailedPlacement->ubBodyType = COW;
|
||||
curr->pBasicPlacement->ubBodyType = COW;
|
||||
}
|
||||
curr = curr->next;
|
||||
}
|
||||
@@ -614,7 +614,7 @@ void UpdateOldVersionMap()
|
||||
if( curr->pBasicPlacement->bTeam == CIV_TEAM && !curr->pDetailedPlacement )
|
||||
{
|
||||
curr->pBasicPlacement->ubSoldierClass = SOLDIER_CLASS_MINER;
|
||||
curr->pBasicPlacement->bBodyType = -1;
|
||||
curr->pBasicPlacement->ubBodyType = -1;
|
||||
}
|
||||
curr = curr->next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user