summaryrefslogtreecommitdiff
path: root/src/gamestate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamestate.cpp')
-rw-r--r--src/gamestate.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gamestate.cpp b/src/gamestate.cpp
index 10cfafa..ec6bf72 100644
--- a/src/gamestate.cpp
+++ b/src/gamestate.cpp
@@ -4,6 +4,8 @@
4 4
5#include "astleaf.h" 5#include "astleaf.h"
6#include "astleafliteral.h" 6#include "astleafliteral.h"
7#include "smlnode.h"
8#include "interface.h"
7 9
8#include <gats/types.h> 10#include <gats/types.h>
9 11
@@ -287,7 +289,9 @@ void GameState::execCommand( const Bu::String &sCmd )
287 { 289 {
288 if( !pGame->execCommand( *this, lCmd ) ) 290 if( !pGame->execCommand( *this, lCmd ) )
289 { 291 {
290 sio << "I don't understand that command." << sio.nl; 292 pIface->display( SmlNode::parse(
293 "I don't understand that command."
294 ) );
291 return; 295 return;
292 } 296 }
293 } 297 }