Adds a hook for changing view size. (#23690)

* Adds a hook for changing view size.

* """"coding standards""""
This commit is contained in:
Pieter-Jan Briers
2017-02-05 13:01:12 +01:00
committed by oranges
parent 572b5dc98e
commit 43fd486f82
7 changed files with 15 additions and 8 deletions
+7
View File
@@ -551,3 +551,10 @@ var/next_external_rsc = 0
return FALSE
if ("key")
return FALSE
/client/proc/change_view(new_size)
if (isnull(new_size))
CRASH("change_view called without argument.")
view = new_size