mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
[MIRROR] adds a bitflag for no random pixel shift on dropping, adds turf_flags var to replace usage of flags_1 on turfs (#3737)
* adds a bitflag for no random pixel shift on dropping, adds turf_flags var to replace usage of flags_1 on turfs (#57263) Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com> * adds a bitflag for no random pixel shift on dropping, adds turf_flags var to replace usage of flags_1 on turfs Co-authored-by: Fikou <piotrbryla@onet.pl> Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
This commit is contained in:
co-authored by
Mothblocks
Fikou
parent
7ef6e29b0b
commit
e63094d9ae
@@ -60,8 +60,8 @@
|
||||
var/closed = text2num(string_gen[world.maxx * (gen_turf.y - 1) + gen_turf.x])
|
||||
|
||||
var/stored_flags
|
||||
if(gen_turf.flags_1 & NO_RUINS_1)
|
||||
stored_flags |= NO_RUINS_1
|
||||
if(gen_turf.turf_flags & NO_RUINS)
|
||||
stored_flags |= NO_RUINS
|
||||
|
||||
var/turf/new_turf = pickweight(closed ? closed_turf_types : open_turf_types)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user