remove no-op method and call of same

This commit is contained in:
Andy2 2011-05-10 18:25:27 -07:00
parent 472ffd02bf
commit 8a8e1c9db0
2 changed files with 0 additions and 11 deletions

View file

@ -189,8 +189,6 @@ public class GameUtils {
}
XwJNI.game_dispose( gamePtr );
gi.setInProgress( false );
gamePtr = XwJNI.initJNI();
XwJNI.game_makeNewGame( gamePtr, gi, JNIUtilsImpl.get(),
CommonPrefs.get( context ), dictBytes,
@ -749,7 +747,6 @@ public class GameUtils {
}
if ( forceNew || !madeGame ) {
gi.setInProgress( false );
XwJNI.game_makeNewGame( gamePtr, gi, JNIUtilsImpl.get(),
cp, dictBytes, dictNames, langName );
}

View file

@ -56,7 +56,6 @@ public class CurGameInfo {
// private int[] m_visiblePlayers;
// private int m_nVisiblePlayers;
private boolean m_inProgress;
private int m_smartness;
private Context m_context;
@ -67,7 +66,6 @@ public class CurGameInfo {
public CurGameInfo( Context context, boolean isNetworked )
{
m_inProgress = false;
m_context = context;
nPlayers = 2;
gameSeconds = 60 * nPlayers *
@ -103,7 +101,6 @@ public class CurGameInfo {
public CurGameInfo( Context context, CurGameInfo src )
{
m_context = context;
m_inProgress = src.m_inProgress;
gameID = src.gameID;
nPlayers = src.nPlayers;
gameSeconds = src.gameSeconds;
@ -134,11 +131,6 @@ public class CurGameInfo {
}
}
public void setInProgress( boolean inProgress )
{
m_inProgress = inProgress;
}
public void setLang( int lang )
{
if ( dictLang != lang ) {