From 6473118b24968e3d1e210d4a42479ba140ca929a Mon Sep 17 00:00:00 2001 From: Artem Golubikhin Date: Mon, 2 Jan 2017 11:38:43 +0300 Subject: [PATCH] Fixed entity param changing in hamsandwich (#395) --- modules/hamsandwich/DataHandler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hamsandwich/DataHandler.h b/modules/hamsandwich/DataHandler.h index fe253ff3..40fe970e 100644 --- a/modules/hamsandwich/DataHandler.h +++ b/modules/hamsandwich/DataHandler.h @@ -92,7 +92,7 @@ public: Data(int type, void *ptr) : m_data(ptr), m_index(NULL), m_type(type) { /* nothing */ }; - Data(int type, void *ptr, int *cptr) : m_data(ptr), m_index(NULL), m_type(type) + Data(int type, void *ptr, int *cptr) : m_data(ptr), m_index(cptr), m_type(type) { /* nothing */ }; ~Data()