Commit 5159d631 authored by Per Cederqvist's avatar Per Cederqvist

(main): Handle l2g_expensive_set.

parent ba539f30
......@@ -55,6 +55,7 @@
n m l next-key
u m dump
r m read
s m l g expensive_set
w m write
i m iterate through all texts
i m f e iterate through f..e-1
......@@ -250,6 +251,13 @@ main(void)
ok = 1;
}
break;
case 's':
if (n == 3 && num[0] < MAXMAPS)
{
l2g_expensive_set(&maps[num[0]], num[1], num[2]);
ok = 1;
}
break;
case 'w':
if (n == 1 && num[0] < MAXMAPS)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment