diff options
| author | jacob1 <jfu614@gmail.com> | 2013-05-15 17:51:45 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-05-15 17:51:45 (GMT) |
| commit | dfc33aaeeaa066ff0107b4ed68ec7756fbc5acb3 (patch) | |
| tree | 51d5c2e1fd34f26d862b6eee80e3960c3243d7c1 /src/client/Client.cpp | |
| parent | 94d21a1679749df49342903545192254a27f8ffc (diff) | |
| download | powder-dfc33aaeeaa066ff0107b4ed68ec7756fbc5acb3.zip powder-dfc33aaeeaa066ff0107b4ed68ec7756fbc5acb3.tar.gz | |
finish return values for the legacy api, add sim.saveStamp and sim.loadStamp
Diffstat (limited to 'src/client/Client.cpp')
| -rw-r--r-- | src/client/Client.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/Client.cpp b/src/client/Client.cpp index 1a2f296..367aa70 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -949,6 +949,8 @@ void Client::MoveStampToFront(std::string stampID) SaveFile * Client::GetStamp(std::string stampID) { std::string stampFile = std::string(STAMPS_DIR PATH_SEP + stampID + ".stm"); + if (!FileExists(stampFile)) + stampFile = stampID; if(FileExists(stampFile)) { SaveFile * file = new SaveFile(stampID); |
