mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-20 06:06:13 +00:00
Fixed: Compilation under Windows
This commit is contained in:
parent
1efb1cc804
commit
e7260f8dd4
1 changed files with 3 additions and 3 deletions
|
@ -989,7 +989,7 @@ public:
|
|||
|
||||
/// Set a property list. Must be preceded by setupDestPropTrackersInterestedByDelta()
|
||||
template <class T>
|
||||
void applyListPropChange( TDataSetIndex entityIndex, TPropertyIndex propIndex, NLNET::TServiceId srcServiceId, std::slist<T>& tempList, NLMISC::TGameCycle timestamp )
|
||||
void applyListPropChange( TDataSetIndex entityIndex, TPropertyIndex propIndex, NLNET::TServiceId srcServiceId, slist<T>& tempList, NLMISC::TGameCycle timestamp )
|
||||
{
|
||||
// Set if the received timestamp is newer than the stored timestamp
|
||||
NLMISC::TGameCycle& localTimestamp = _PropertyContainer.PropertyValueArrays[propIndex].ChangeTimestamps[entityIndex];
|
||||
|
@ -1033,14 +1033,14 @@ public:
|
|||
|
||||
/// Erase a list and set the new one instead
|
||||
template <class T>
|
||||
void replaceList( TDataSetIndex entityIndex, TPropertyIndex propIndex, std::slist<T>& tempList )
|
||||
void replaceList( TDataSetIndex entityIndex, TPropertyIndex propIndex, slist<T>& tempList )
|
||||
{
|
||||
// Clear old list
|
||||
CMirrorPropValueListMS<T> theList( *this, TDataSetRow(entityIndex), propIndex );
|
||||
theList.clear();
|
||||
|
||||
// Paste new list
|
||||
typename std::slist<T>::iterator it;
|
||||
typename slist<T>::iterator it;
|
||||
for ( it=tempList.begin(); it!=tempList.end(); ++it )
|
||||
{
|
||||
theList.push_front( *it ); // re-reverse ordering
|
||||
|
|
Loading…
Reference in a new issue