diff options
Diffstat (limited to 'src/interfaceconsole.cpp')
| -rw-r--r-- | src/interfaceconsole.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/interfaceconsole.cpp b/src/interfaceconsole.cpp index e07bffe..49be5c1 100644 --- a/src/interfaceconsole.cpp +++ b/src/interfaceconsole.cpp | |||
| @@ -38,13 +38,6 @@ void InterfaceConsole::run( Game *pGame ) | |||
| 38 | fgets( buf, 1024, stdin ); | 38 | fgets( buf, 1024, stdin ); |
| 39 | 39 | ||
| 40 | gs.execCommand( buf ); | 40 | gs.execCommand( buf ); |
| 41 | |||
| 42 | Gats::Object *pObj = gs.toGats(); | ||
| 43 | File fOut( Bu::String("test-%1.save").arg( iStep++ ), File::WriteNew ); | ||
| 44 | Gats::GatsStream gs( fOut ); | ||
| 45 | gs.writeObject( pObj ); | ||
| 46 | |||
| 47 | delete pObj; | ||
| 48 | } | 41 | } |
| 49 | } | 42 | } |
| 50 | 43 | ||
