Update of /cvsroot/wpdev/wolfpack
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19395
Modified Files:
items.cpp
Log Message:
fixes bug with duped items not being saved.
Index: items.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/items.cpp,v
retrieving revision 1.448
retrieving revision 1.449
diff -C2 -d -r1.448 -r1.449
*** items.cpp 14 Sep 2004 23:03:06 -0000 1.448
--- items.cpp 18 Sep 2004 18:30:05 -0000 1.449
***************
*** 98,101 ****
--- 98,102 ----
this->totalweight_ = amount_ * weight();
this->multi_ = 0;
+ this->isPersistent = false;
moveTo( src.pos_, true );
}
***************
*** 1089,1093 ****
nItem->moveTo( pos_ );
}
-
return nItem;
}
--- 1090,1093 ----
|