mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-23 09:18:46 +00:00
Fixed: Compilation under Windows
This commit is contained in:
parent
0985762b63
commit
5ae8eb8203
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