huge weapon-code cleanup (buggy!), pch, demo fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1475 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// client.cpp, mostly network related client game code
|
||||
|
||||
#include "pch.h"
|
||||
#include "cube.h"
|
||||
#include "bot/bot.h"
|
||||
|
||||
@@ -342,7 +343,7 @@ void sendintro()
|
||||
putint(p, SV_CONNECT);
|
||||
sendstring(clientpassword, p);
|
||||
clientpassword[0] = '\0';
|
||||
putint(p, player1->nextprimary);
|
||||
putint(p, player1->nextprimweap->type);
|
||||
enet_packet_resize(packet, p.length());
|
||||
sendpackettoserv(1, packet);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user