xtreampb Posted April 1, 2013 Share Posted April 1, 2013 So apprently there is an error in the source code for adding hooks via the Entity::AddHook function for OS X. For more information please fallow the detailed thread listed below. http://www.leadwerks.com/werkspace/topic/6361-le3-collisions-hook/ bool Life() { while(death=false) { if(death==true) return death; } } I have found the secret to infinite life Did I help you out? Like my post! Link to comment Share on other sites More sharing options...
Admin Posted April 2, 2013 Share Posted April 2, 2013 The example here has been fixed. Just cast the function pointer to a void*: http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/object/objectaddhook-r759 Link to comment Share on other sites More sharing options...
Recommended Posts