Updated to Interface Event
Changed SendConsoleEvent to SendInterfaceEvent to make functionality clearer. Added InterfaceProcess virtual to EventHandlers. Added CCMD for sending interface events.
This commit is contained in:
parent
b4a8b1278f
commit
7517b64aee
4 changed files with 69 additions and 26 deletions
|
|
@ -2704,7 +2704,7 @@ void Net_DoCommand (int type, uint8_t **stream, int player)
|
|||
for (int i = 0; i < 3; i++)
|
||||
arg[i] = ReadLong(stream);
|
||||
bool manual = !!ReadByte(stream);
|
||||
primaryLevel->localEventManager->Console(player, s, arg[0], arg[1], arg[2], manual);
|
||||
primaryLevel->localEventManager->Console(player, s, arg[0], arg[1], arg[2], manual, false);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue