- Added kgsws's SummonActor enhancement and bumped netgame and demo versions
because this submission changes an existing command. SVN r1749 (trunk)
This commit is contained in:
parent
54c4e26f7d
commit
00f88610ac
4 changed files with 41 additions and 8 deletions
13
src/info.cpp
13
src/info.cpp
|
|
@ -421,8 +421,17 @@ static void SummonActor (int command, int command2, FCommandLine argv)
|
|||
Net_WriteByte (argv.argc() > 2 ? command2 : command);
|
||||
Net_WriteString (type->TypeName.GetChars());
|
||||
|
||||
if (argv.argc () > 2)
|
||||
Net_WriteWord (atoi (argv[2]));
|
||||
if (argv.argc () > 2) {
|
||||
Net_WriteWord (atoi (argv[2])); // angle
|
||||
if (argv.argc () > 3) Net_WriteWord (atoi (argv[3])); // TID
|
||||
else Net_WriteWord (0);
|
||||
if (argv.argc () > 4) Net_WriteByte (atoi (argv[4])); // special
|
||||
else Net_WriteByte (0);
|
||||
for(int i = 5; i < 10; i++) { // args[5]
|
||||
if(i < argv.argc()) Net_WriteLong (atoi (argv[i]));
|
||||
else Net_WriteLong (0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue