Merge pull request #2525 from Citadel-Station-13/upstream-merge-30204
[MIRROR] Fixes APC pixel shift being off
This commit is contained in:
@@ -120,8 +120,15 @@
|
||||
if(auto_name)
|
||||
name = "\improper [get_area(src)] APC"
|
||||
|
||||
pixel_x = (src.tdir & 3)? 0 : (src.tdir == 4 ? 26 : -27)
|
||||
pixel_y = (src.tdir & 3)? (src.tdir == 1 ? 25 : -25) : 0
|
||||
switch(tdir)
|
||||
if(NORTH)
|
||||
pixel_y = 23
|
||||
if(SOUTH)
|
||||
pixel_y = -23
|
||||
if(EAST)
|
||||
pixel_x = 24
|
||||
if(WEST)
|
||||
pixel_x = -25
|
||||
if (building)
|
||||
area = get_area(src)
|
||||
opened = 1
|
||||
|
||||
Reference in New Issue
Block a user