[s] Removes some stationloving-related failure surface (#37727)

COMSIG_TRY_STORAGE_TAKE fails, leaving the disk out-of-bounds. forceMove HAS to be good enough here.
This commit is contained in:
vuonojenmustaturska
2018-05-09 00:39:59 +03:00
committed by letterjay
parent 3d0ae0255b
commit 003eced6af
3 changed files with 20 additions and 8 deletions
+4 -1
View File
@@ -326,7 +326,10 @@
I.plane = initial(I.plane)
I.appearance_flags &= ~NO_CLIENT_COLOR
if(!no_move && !(I.flags_1 & DROPDEL_1)) //item may be moved/qdel'd immedietely, don't bother moving it
I.forceMove(newloc)
if (isnull(newloc))
I.moveToNullspace()
else
I.forceMove(newloc)
I.dropped(src)
return TRUE