Fixed changeskill being unnetworked
This commit is contained in:
parent
ca95e18742
commit
f0aa0acf08
3 changed files with 9 additions and 2 deletions
|
|
@ -2753,6 +2753,10 @@ void Net_DoCommand (int type, uint8_t **stream, int player)
|
|||
primaryLevel->localEventManager->NetCommand(netCmd);
|
||||
}
|
||||
break;
|
||||
|
||||
case DEM_CHANGESKILL:
|
||||
NextSkill = ReadInt32(stream);
|
||||
break;
|
||||
|
||||
default:
|
||||
I_Error ("Unknown net command: %d", type);
|
||||
|
|
@ -2848,6 +2852,7 @@ void Net_SkipCommand (int type, uint8_t **stream)
|
|||
case DEM_INVUSE:
|
||||
case DEM_FOV:
|
||||
case DEM_MYFOV:
|
||||
case DEM_CHANGESKILL:
|
||||
skip = 4;
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue