Merge pull request #33324 from deathride58/foreignfurryaddswidescreen

[Ready] Makes the default view range a config option (Allows hosts to enable widescreen)
This commit is contained in:
Jordan Brown
2017-12-07 13:50:09 -05:00
committed by CitadelStationBot
parent e6fb6a5910
commit 8b9e15d1b5
17 changed files with 29 additions and 19 deletions
+1 -1
View File
@@ -500,7 +500,7 @@
user.client.pixel_x = world.icon_size*_x
user.client.pixel_y = world.icon_size*_y
else
user.client.change_view(world.view)
user.client.change_view(CONFIG_GET(string/default_view))
user.client.pixel_x = 0
user.client.pixel_y = 0
return zoomed
+1 -1
View File
@@ -179,7 +179,7 @@
zoom_animating = 0
animate(current_user.client, pixel_x = 0, pixel_y = 0, 0, FALSE, LINEAR_EASING, ANIMATION_END_NOW)
zoom_current_view_increase = 0
current_user.client.change_view(world.view)
current_user.client.change_view(CONFIG_GET(string/default_view))
zooming_angle = 0
current_zoom_x = 0
current_zoom_y = 0