The RLV status report channel should not be 0

This commit is contained in:
Sei Lisa 2020-09-08 00:34:00 +02:00 committed by Sei-Lisa
parent 913a273052
commit 6a6b060fb8

View file

@ -184,7 +184,7 @@ state running
llListenRemove(menu_handle);
llListenRemove(GETSTATUShandle);
menu_handle = llListen((menu_channel = ((integer)llFrand(0x7FFFFF80) + 1) * -1), "", CONTROLLER, ""); // 7FFFFF80 = max float < 2^31
GETSTATUShandle = llListen((RELAY_GETSTATUS_CHANNEL = (integer)llFrand(999999936)), "", "", ""); // 999999936 = max float < 1e9
GETSTATUShandle = llListen((RELAY_GETSTATUS_CHANNEL = 64 + (integer)llFrand(999999936)), "", "", ""); // 999999936 = max float < 1e9
if (num == 90208)
{
main_menu();