Changeset 333 for binary-improvements/7dtd-server-fixes
- Timestamp:
- Nov 16, 2018, 11:09:57 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/PersistentData/Player.cs
r326 r333 214 214 using (PooledBinaryReader pbr = MemoryPools.poolBinaryReader.AllocSync (false)) { 215 215 pbr.SetBaseStream (_pdf.progressionData); 216 long posBefore = pbr.BaseStream.Position; 217 pbr.BaseStream.Position = 0; 216 218 Progression p = Progression.Read (pbr, null); 219 pbr.BaseStream.Position = posBefore; 217 220 expToNextLevel = (uint) p.ExpToNextLevel; 218 221 level = p.Level;
Note:
See TracChangeset
for help on using the changeset viewer.