mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
AddSoldierToSector & OBJECTTYPE::soldierID changed to SoldierID
This commit is contained in:
@@ -256,7 +256,7 @@ void WORLDITEM::initialize()
|
||||
this->bRenderZHeightAboveLevel = 0;
|
||||
this->bVisible = 0;
|
||||
this->ubNonExistChance = 0;
|
||||
this->soldierID = -1;
|
||||
this->soldierID = NOBODY;
|
||||
this->object.initialize();
|
||||
}
|
||||
|
||||
@@ -270,7 +270,7 @@ WORLDITEM& WORLDITEM::operator=(OLD_WORLDITEM_101& src)
|
||||
this->bRenderZHeightAboveLevel = src.bRenderZHeightAboveLevel;
|
||||
this->bVisible = src.bVisible;
|
||||
this->ubNonExistChance = src.ubNonExistChance;
|
||||
this->soldierID = -1;
|
||||
this->soldierID = NOBODY;
|
||||
|
||||
//convert the OBJECTTYPE
|
||||
this->object = src.oldObject;
|
||||
@@ -288,7 +288,7 @@ WORLDITEM& WORLDITEM::operator=(_OLD_WORLDITEM& src)//dnl ch42 280909
|
||||
bRenderZHeightAboveLevel = src.bRenderZHeightAboveLevel;
|
||||
bVisible = src.bVisible;
|
||||
ubNonExistChance = src.ubNonExistChance;
|
||||
soldierID = -1;
|
||||
soldierID = NOBODY;
|
||||
object = src.object;
|
||||
}
|
||||
return(*this);
|
||||
|
||||
Reference in New Issue
Block a user