]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/shoo.c
(lrange, shoo, execute): Buffer passed to getstarg() was too small.
[empserver] / src / lib / commands / shoo.c
index 03411d8c21770c5f0a51f82b573d1db970c5c154..6d75c25ce315f3ab0fb2e0929109ff004148a424 100644 (file)
@@ -57,10 +57,10 @@ shoo(void)
     struct ichrstr *ip;
     struct lndstr land;
     int targets;
-    s_char *p;
+    char *p;
     int mil, nsec;
-    s_char prompt[128];
-    s_char buf[128];
+    char prompt[128];
+    char buf[1024];
 
     ip = whatitem(player->argp[1], "Shoot what <civ or uw> ");
     if (ip == 0 || (ip->i_vtype != I_CIVIL && ip->i_vtype != I_UW))