ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-2.0/src/brains/SimSnapshotManager.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-2.0/src/brains/SimSnapshotManager.cpp (file contents):
Revision 1764 by tim, Fri Nov 12 06:19:04 2004 UTC vs.
Revision 1765 by tim, Mon Nov 22 20:55:52 2004 UTC

# Line 37 | Line 37 | bool SimSnapshotManager::advance() {
37   bool SimSnapshotManager::advance() {
38  
39      *previousSnapshot_ = *currentSnapshot_;
40 +    currentSnapshot_->setID(currentSnapshot_->getID() + 1);
41   }
42  
43   Snapshot* SimSnapshotManager::getSnapshot(int id) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines