about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/game_client.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp
index 8fdf9ade..f5ae23ec 100644
--- a/src/game/client/game_client.cpp
+++ b/src/game/client/game_client.cpp
@@ -1635,7 +1635,7 @@ void render_game()
 	{
 		gfx_mapscreen(0, 0, width, height);
 
-		if (gameobj->gametype == GAMETYPE_DM)
+		if (gameobj && gameobj->gametype == GAMETYPE_DM)
 		{
 			// Normal deathmatch
 
@@ -1736,6 +1736,7 @@ void render_game()
 				gfx_pretty_text(x+40, y, 32, buf);
 			}			
 		}
+		/*
 		else if (gameobj->gametype == GAMETYPE_TDM)
 		{
 			// Team deathmatch
@@ -1826,6 +1827,7 @@ void render_game()
 				}
 			}
 		}
+		* */
 	}
 }