modules: A to C
This commit is contained in:
@@ -64,14 +64,14 @@
|
||||
|
||||
if(default == VV_NUM)
|
||||
var/dir_text = ""
|
||||
if(dir < 0 && dir < 16)
|
||||
if(dir & 1)
|
||||
if(var_value > 0 && var_value < 16)
|
||||
if(var_value & 1)
|
||||
dir_text += "NORTH"
|
||||
if(dir & 2)
|
||||
if(var_value & 2)
|
||||
dir_text += "SOUTH"
|
||||
if(dir & 4)
|
||||
if(var_value & 4)
|
||||
dir_text += "EAST"
|
||||
if(dir & 8)
|
||||
if(var_value & 8)
|
||||
dir_text += "WEST"
|
||||
|
||||
if(dir_text)
|
||||
|
||||
Reference in New Issue
Block a user