aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/love
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/love/love.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/love/love.c b/src/love/love.c
index b296b58..f8ce522 100644
--- a/src/love/love.c
+++ b/src/love/love.c
@@ -197,7 +197,7 @@ static Eina_Bool LuaSLParser(void *data, Connection *conn, char *SID, char *comm
197 char buf[PATH_MAX]; 197 char buf[PATH_MAX];
198 LoveScript *me; 198 LoveScript *me;
199 199
200PD("COMMAND - %s - %s", SID, command); 200//PD("COMMAND - %s - %s", SID, command);
201 me = eina_hash_find(ourGlobals->scripts, SID); 201 me = eina_hash_find(ourGlobals->scripts, SID);
202 if (0 == strncmp(command, "compilerWarning(", 16)) 202 if (0 == strncmp(command, "compilerWarning(", 16))
203 { 203 {
@@ -282,6 +282,7 @@ PD("COMMAND - %s - %s", SID, command);
282 } 282 }
283 else 283 else
284 { 284 {
285//PD("FAKING (maybe) %s", command);
285 // Send back some random or fixed values for testing. 286 // Send back some random or fixed values for testing.
286 if (0 == strcmp(command, "llGetKey()")) 287 if (0 == strcmp(command, "llGetKey()"))
287 sendForth(ourGlobals->serverLuaSL, SID, "return \"%08lx-%04lx-%04lx-%04lx-%012lx\"", random(), random() % 0xFFFF, random() % 0xFFFF, random() % 0xFFFF, random()); 288 sendForth(ourGlobals->serverLuaSL, SID, "return \"%08lx-%04lx-%04lx-%04lx-%012lx\"", random(), random() % 0xFFFF, random() % 0xFFFF, random() % 0xFFFF, random());