06-09-2013, 11:59 PM
You're mixing datatypes - Int64, long...
Random Chitchat 2012-2016
|
||
06-09-2013, 11:59 PM
You're mixing datatypes - Int64, long...
06-10-2013, 12:03 AM
06-10-2013, 12:22 AM
You need to use the same type on both, since the member variable is of one type. If you don't, you run the risk of getting shortened data, and, on some architectures, crashes due to misaligned access.
Why are you using Int64 at all? in my cWorld (rev 1568) the variable m_WeatherInterval is of type int, so why not use int?
06-10-2013, 12:30 AM
Well I looked at the SetTimeOfDay function and it was Int64 there so i tried that and it worked. I wasn't sure if it would cause any trouble.
06-10-2013, 01:07 AM
SetTimeOfDay() sets the m_TimeOfDay, which is Int64, so it's correct. m_WeatherInterval is an int, so use an int and everything will be fine.
06-10-2013, 01:10 AM
Shall i commit it? Maybe also with the cClientHandle::SendBlockChange function?
06-10-2013, 03:23 AM
Please do. And don't forget to update the Bindings (AllToLua.bat)
06-12-2013, 04:11 AM
I guess I'm free now, so what should I do next? Which feature to implement / fix?
06-12-2013, 04:34 AM
| ||
« Next Oldest | Next Newest »
|