Fixed changeskill being unnetworked

This commit is contained in:
Boondorl 2024-04-25 18:09:53 -04:00 committed by Rachael Alexanderson
commit f0aa0acf08
3 changed files with 9 additions and 2 deletions

View file

@ -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;