mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
repair and dirt system change:
Dirt is now part of gun status. The original dirt system has been removed. For details see: http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=20198&goto=347370&#msg_347370 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8325 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -3159,7 +3159,6 @@ BOOLEAN RepairIsDone(DEALER_SPECIAL_ITEM* pSpecial)
|
||||
|
||||
// Flugente: shopkeepers will also restore an item's repair threshold
|
||||
RepairItem.ItemObject[0]->data.sRepairThreshold = 100;
|
||||
RepairItem.ItemObject[0]->data.bDirtLevel = 0.0f;
|
||||
}
|
||||
|
||||
// max condition of all permanent attachments on it
|
||||
@@ -3171,7 +3170,6 @@ BOOLEAN RepairIsDone(DEALER_SPECIAL_ITEM* pSpecial)
|
||||
|
||||
// Flugente: shopkeepers will also restore an item's repair threshold and clean it
|
||||
(*iter)[0]->data.sRepairThreshold = 100;
|
||||
(*iter)[0]->data.bDirtLevel = 0.0f;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user