diff options
author | David Walter Seikel | 2014-05-14 16:54:28 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-14 16:54:28 +1000 |
commit | 2610d378200d02e36882c0f02f27f866cab1ad4f (patch) | |
tree | 021b3f0ee7e80060ef7af84911dc9608c0686f3f /src | |
parent | Shut up some excess debugs. (diff) | |
download | SledjHamr-2610d378200d02e36882c0f02f27f866cab1ad4f.zip SledjHamr-2610d378200d02e36882c0f02f27f866cab1ad4f.tar.gz SledjHamr-2610d378200d02e36882c0f02f27f866cab1ad4f.tar.bz2 SledjHamr-2610d378200d02e36882c0f02f27f866cab1ad4f.tar.xz |
Fake llGetPermissionsKey().
Diffstat (limited to 'src')
-rw-r--r-- | src/love/love.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/love/love.c b/src/love/love.c index cb0cd47..dc524d8 100644 --- a/src/love/love.c +++ b/src/love/love.c | |||
@@ -298,6 +298,8 @@ static Eina_Bool _dataLuaSL(void *data, int type, Ecore_Con_Event_Server_Data *e | |||
298 | sendForth(ourGlobals->serverLuaSL, SID, "return \"%08lx-%04lx-%04lx-%04lx-%012lx\"", random(), random() % 0xFFFF, random() % 0xFFFF, random() % 0xFFFF, random()); | 298 | sendForth(ourGlobals->serverLuaSL, SID, "return \"%08lx-%04lx-%04lx-%04lx-%012lx\"", random(), random() % 0xFFFF, random() % 0xFFFF, random() % 0xFFFF, random()); |
299 | else if (0 == strcmp(command, "llGetOwner()")) | 299 | else if (0 == strcmp(command, "llGetOwner()")) |
300 | sendForth(ourGlobals->serverLuaSL, SID, "return \"%s\"", ownerKey); | 300 | sendForth(ourGlobals->serverLuaSL, SID, "return \"%s\"", ownerKey); |
301 | else if (0 == strcmp(command, "llGetPermissionsKey()")) | ||
302 | sendForth(ourGlobals->serverLuaSL, SID, "return \"%s\"", ownerKey); | ||
301 | else if (0 == strcmp(command, "llGetPos()")) | 303 | else if (0 == strcmp(command, "llGetPos()")) |
302 | sendForth(ourGlobals->serverLuaSL, SID, "return {x=128.0, y=128.0, z=128.0}"); | 304 | sendForth(ourGlobals->serverLuaSL, SID, "return {x=128.0, y=128.0, z=128.0}"); |
303 | else if (0 == strcmp(command, "llGetRot()")) | 305 | else if (0 == strcmp(command, "llGetRot()")) |