diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-06-26 20:33:12 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-06-26 21:33:43 +0200 |
commit | d5d256b84fb6112960a37b3944c85b6b2bcf1125 (patch) | |
tree | 47c665585587e92c06d0fe18be5d9f8a059d8340 /src/object2.cc | |
parent | 629b9a33952661972dd533377d8da594b95c2049 (diff) |
Replace COPY() macro use with assignment
There seems to be no compelling reason to use COPY()
or memcpy()
Diffstat (limited to 'src/object2.cc')
-rw-r--r-- | src/object2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object2.cc b/src/object2.cc index 9f4d872e..2a17e140 100644 --- a/src/object2.cc +++ b/src/object2.cc @@ -1908,7 +1908,7 @@ void object_wipe(object_type *o_ptr) void object_copy(object_type *o_ptr, object_type *j_ptr) { /* Copy the structure */ - COPY(o_ptr, j_ptr, object_type); + *o_ptr = *j_ptr; } |