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:
@@ -1049,7 +1049,6 @@ ObjectData::ObjectData(const ObjectData& src)
|
||||
this->ubWireNetworkFlag = src.ubWireNetworkFlag;
|
||||
this->bDefuseFrequency = src.bDefuseFrequency;
|
||||
this->sRepairThreshold = src.sRepairThreshold;
|
||||
this->bDirtLevel = src.bDirtLevel;
|
||||
this->sObjectFlag = src.sObjectFlag;
|
||||
|
||||
//copy over the union
|
||||
@@ -1076,7 +1075,6 @@ ObjectData& ObjectData::operator =(const ObjectData& src)
|
||||
this->ubWireNetworkFlag = src.ubWireNetworkFlag;
|
||||
this->bDefuseFrequency = src.bDefuseFrequency;
|
||||
this->sRepairThreshold = src.sRepairThreshold;
|
||||
this->bDirtLevel = src.bDirtLevel;
|
||||
this->sObjectFlag = src.sObjectFlag;
|
||||
|
||||
//copy over the union
|
||||
@@ -1640,7 +1638,6 @@ OBJECTTYPE& OBJECTTYPE::operator=(const OLD_OBJECTTYPE_101& src)
|
||||
}
|
||||
|
||||
(*this)[0]->data.sRepairThreshold = 100;
|
||||
(*this)[0]->data.bDirtLevel = 0.0f;
|
||||
(*this)[0]->data.sObjectFlag = 0;
|
||||
|
||||
//it's unlikely max will get less over the versions, but still, check the min
|
||||
@@ -1675,7 +1672,6 @@ OBJECTTYPE& OBJECTTYPE::operator=(const OLD_OBJECTTYPE_101& src)
|
||||
}
|
||||
|
||||
(*this)[x]->data.sRepairThreshold = 100;
|
||||
(*this)[x]->data.bDirtLevel = 0.0f;
|
||||
(*this)[x]->data.sObjectFlag = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user