*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@539 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -599,8 +599,6 @@ extern void kickallbots(void);
|
||||
|
||||
void startmap(char *name) // called just after a map load
|
||||
{
|
||||
loopv(sleeps) delete[] sleeps[i].cmd;
|
||||
sleeps.setsize(0);
|
||||
//if(netmapstart()) { gamemode = 0;}; //needs fixed to switch modes?
|
||||
netmapstart(); //should work
|
||||
//monsterclear();
|
||||
|
||||
@@ -177,8 +177,7 @@ int execute(char *p) // all evaluation happens here,
|
||||
{
|
||||
int len = max(numargs-2, 0);
|
||||
for(int i = 1; i<numargs; i++) len += (int)strlen(w[i]);
|
||||
char *r = newstring(len);
|
||||
r[0] = 0;
|
||||
char *r = newstring("", len);
|
||||
for(int i = 1; i<numargs; i++)
|
||||
{
|
||||
strcat(r, w[i]); // make string-list out of all arguments
|
||||
|
||||
Reference in New Issue
Block a user