X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=inline;f=src%2Fclient%2Fmap.c;h=2a1d66f300a90d02eb09a0d9752b16dbbadfff38;hb=7e43b1fff89706212291384ddaa762fa30b02cb4;hp=7c2dcc384590df51b3dcfa46c9bcb577a6755e27;hpb=b4e81c08c1b229cac545f38a8f1fc3c08da91d83;p=plomrogue
diff --git a/src/client/map.c b/src/client/map.c
index 7c2dcc3..2a1d66f 100644
--- a/src/client/map.c
+++ b/src/client/map.c
@@ -45,3 +45,10 @@ extern void map_center()
win_map->center.y = world.player_pos.y;
win_map->center.x = world.player_pos.x * 2;
}
+
+
+
+extern void toggle_autofocus()
+{
+ world.focus_each_turn = world.focus_each_turn ? 0 : 1;
+}