diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-06-14 02:13:47 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-06-14 02:13:47 -0300 |
commit | 8228fea02feabbfdd4def950e67f9ea6507d981d (patch) | |
tree | 95ccefb9330b693e44f20bddfbf8a6544ad34341 /core | |
parent | edf1f271180a8e2481ebb3d7808f47493e5ad13e (diff) |
missing changes
Diffstat (limited to 'core')
-rw-r--r-- | core/reference.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/reference.h b/core/reference.h index 544da41044..65f31f78f3 100644 --- a/core/reference.h +++ b/core/reference.h @@ -294,6 +294,9 @@ public: reference=NULL; } + void instance() { + ref( memnew( T )); + } Ref() { |