Change the way the lua engine initialization functions are called
This commit is contained in:
@@ -60,7 +60,8 @@ struct EngineWrapper {
|
||||
// Of course, there's no constructor, since this is a C struct.
|
||||
// To initialize it, you use 'dlsym' or 'GetProcAddress' to get the
|
||||
// address of the function 'init_engine_wrapper'. Then, you call
|
||||
// the function init_engine_wrapper(&wrapper).
|
||||
// the function init_engine_wrapper(&wrapper). It is OK to call
|
||||
// init_engine_wrapper more than once.
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
@@ -131,7 +132,7 @@ struct EngineWrapper {
|
||||
|
||||
// Get the actor ID. May return zero if the server is down.
|
||||
//
|
||||
uint64_t (*get_actor_id)(EngineWrapper *w);
|
||||
int64_t (*get_actor_id)(EngineWrapper *w);
|
||||
|
||||
// Do a scan to find tangibles near the specified player.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user