diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-01-19 15:00:41 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-01-19 15:00:41 -0700 |
commit | 22170e030efdeadc1dfbd548a8f0b24b0e10ceee (patch) | |
tree | a0710fc6ab4543cab2f15f0f29ac7afdce857dfa /src/interfaceconsole.cpp | |
parent | a2aa36ea6ad0cc5b5fb746202883ef0bc18585cb (diff) | |
download | stage-22170e030efdeadc1dfbd548a8f0b24b0e10ceee.tar.gz stage-22170e030efdeadc1dfbd548a8f0b24b0e10ceee.tar.bz2 stage-22170e030efdeadc1dfbd548a8f0b24b0e10ceee.tar.xz stage-22170e030efdeadc1dfbd548a8f0b24b0e10ceee.zip |
Errors on bad commands make sense now.
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 | ||