diff options
author | Dennis Peeten <dpeeten@onsneteindhoven.nl> | 2008-05-25 22:16:01 (GMT) |
---|---|---|
committer | Dennis Peeten <dpeeten@onsneteindhoven.nl> | 2008-05-25 22:16:01 (GMT) |
commit | 90d88f8b0d01131ef06eca890153891a309385a0 (patch) | |
tree | 0ce34678104521c89406360c0c8ab3c58428483b /matchblox/engine/C_MatchBloxEngine.cpp | |
parent | fcca48f210141e14e558a7064bcc6250e7aaf6fb (diff) | |
download | 2iv55-90d88f8b0d01131ef06eca890153891a309385a0.zip 2iv55-90d88f8b0d01131ef06eca890153891a309385a0.tar.gz 2iv55-90d88f8b0d01131ef06eca890153891a309385a0.tar.bz2 |
crash fix
Diffstat (limited to 'matchblox/engine/C_MatchBloxEngine.cpp')
-rw-r--r-- | matchblox/engine/C_MatchBloxEngine.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/matchblox/engine/C_MatchBloxEngine.cpp b/matchblox/engine/C_MatchBloxEngine.cpp index 7dca60d..45f5a43 100644 --- a/matchblox/engine/C_MatchBloxEngine.cpp +++ b/matchblox/engine/C_MatchBloxEngine.cpp @@ -117,7 +117,12 @@ GameResult C_MatchBloxEngine::ProcessMsgs(void) //any button is pressed
//delete session and return GAME_FINISHED
delete m_pCurrentSession;
+
l_Result = GR_FINISHED;
+
+ //set state to initialised
+ m_State = ES_INITIALISED;
+
}
break;
|