Set placer to nil instead of a non-functional one in item_OnPlace (#6449)
[oweals/minetest.git] / src / clientobject.h
index eeed2516d1ed5b1fa86e385457d65538a7b2a9a7..c85e1ec916ebffcc2996855f85e9adb7e3f60493 100644 (file)
@@ -17,8 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
-#ifndef CLIENTOBJECT_HEADER
-#define CLIENTOBJECT_HEADER
+#pragma once
 
 #include "irrlichttypes_extrabloated.h"
 #include "activeobject.h"
@@ -106,5 +105,3 @@ struct DistanceSortedActiveObject
                return d < other.d;
        }
 };
-
-#endif