Re-fixes scaling offsets for tall sprites

Turns out fixing the busted update_transform proc revealed it lacked the thing that the previous scaling offset fix gave to the other size procs that did function back then.
This commit is contained in:
Verkister
2020-04-18 01:36:31 +03:00
parent 429d33fc29
commit 8fa42e08c3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1194,7 +1194,7 @@ default behaviour is:
// Now for the regular stuff.
var/matrix/M = matrix()
M.Scale(desired_scale_x, desired_scale_y)
M.Translate(0, 16*(desired_scale_y-1))
M.Translate(0, (vis_height/2)*(desired_scale_y-1)) //VOREStation edit
src.transform = M //VOREStation edit
// This handles setting the client's color variable, which makes everything look a specific color.