From e4f1682964f69b51420c3b9ef58bc47bbb5e5933 Mon Sep 17 00:00:00 2001 From: Kyzentun Date: Mon, 16 Jun 2014 23:05:31 -0600 Subject: [PATCH] ASSERT broken into two lines, as per shakesoda's suggestion. --- src/GameState.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GameState.cpp b/src/GameState.cpp index 92291ef2ce..715922d2b4 100644 --- a/src/GameState.cpp +++ b/src/GameState.cpp @@ -2269,7 +2269,8 @@ public: PlayerNumber pn = Enum::Check(L, 1); if( lua_isnil(L,2) ) { p->m_pCurSteps[pn].Set( NULL ); } else { Steps *pS = Luna::check(L,2); p->m_pCurSteps[pn].Set( pS ); } - ASSERT( p->m_pCurSteps[pn] == NULL || p->m_pCurSteps[pn]->m_StepsType == p->m_pCurStyle->m_StepsType); + ASSERT( p->m_pCurSteps[pn] == NULL || + p->m_pCurSteps[pn]->m_StepsType == p->m_pCurStyle->m_StepsType); return 0; } static int GetCurrentCourse( T* p, lua_State *L ) { if(p->m_pCurCourse) p->m_pCurCourse->PushSelf(L); else lua_pushnil(L); return 1; }