Ports "Fixes ChangeTurf CHANGETURF_INHERIT_AIR flag and add it to all calls."

This commit is contained in:
Ghommie
2019-12-17 01:57:56 +01:00
parent 5f59d7a9c5
commit 5bf252a58c
32 changed files with 91 additions and 141 deletions
+7 -2
View File
@@ -192,9 +192,14 @@
var/obj/O
if(R.max_res_amount > 1) //Is it a stack?
O = new R.result_type(usr.drop_location(), R.res_amount * multiplier)
else
else if(ispath(R.result_type, /turf))
var/turf/T = usr.drop_location()
if(!isturf(T))
return
T.PlaceOnTop(R.result_type, flags = CHANGETURF_INHERIT_AIR)
O = new R.result_type(usr.drop_location())
O.setDir(usr.dir)
if(O)
O.setDir(usr.dir)
use(R.req_amount * multiplier)
//START: oh fuck i'm so sorry