src/autoslope.h
changeset 9413 7042a8ec3fa8
parent 9354 845e07db4549
child 9652 0405e98d8e96
--- a/src/autoslope.h	Thu May 29 11:47:56 2008 +0000
+++ b/src/autoslope.h	Thu May 29 15:13:28 2008 +0000
@@ -38,7 +38,7 @@
  */
 static inline bool AutoslopeEnabled()
 {
-	return (_settings.construction.autoslope &&
+	return (_settings_game.construction.autoslope &&
 	        ((IsValidPlayer(_current_player) && !_is_old_ai_player) ||
 	         (_current_player == OWNER_NONE && _game_mode == GM_EDITOR)));
 }