Since < 511 is no longer supported, I nuked all of the refs to it. (#3037)

With the introduction of PR #3023 , 510 and lower are no longer supported. So I removed all compile time defines that were meant to allow for its support and bumped the compiler error guard.
This commit is contained in:
skull132
2017-07-15 17:03:24 +03:00
committed by GitHub
parent 4e8ee11c6e
commit b4a34d27f9
6 changed files with 6 additions and 47 deletions

View File

@@ -5,16 +5,6 @@
var/ref
#if DM_VERSION < 511
// Don't use this directly, use the WEAKREF macro.
/proc/_weakref(datum/D)
if(!istype(D) || QDELETED(D))
return
if(!D.weakref)
D.weakref = new(D)
return D.weakref
#endif
/datum/weakref/New(datum/D)
ref = SOFTREF(D)