mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 10:33:54 -07:00
everything compiles again; enough for today
This commit is contained in:
parent
dd5ae4d74d
commit
cb0e4d07e4
29 changed files with 340 additions and 766 deletions
|
|
@ -11,12 +11,12 @@ OBJECTS_DIR = build
|
|||
|
||||
CONFIG += qt debug
|
||||
QT += network sql
|
||||
QT -= gui
|
||||
|
||||
HEADERS += src/servatrice.h \
|
||||
src/serversocketinterface.h \
|
||||
../common/protocol.h \
|
||||
../common/protocol_items.h \
|
||||
../common/protocol_datastructures.h \
|
||||
../common/rng_abstract.h \
|
||||
../common/rng_qt.h \
|
||||
../common/server.h \
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ void ServerSocketInterface::readClient()
|
|||
else {
|
||||
Command *command = qobject_cast<Command *>(currentItem);
|
||||
if (qobject_cast<InvalidCommand *>(command))
|
||||
sendProtocolItem(new ProtocolResponse(command->getCmdId(), ProtocolResponse::RespInvalidCommand));
|
||||
sendProtocolItem(new ProtocolResponse(command->getCmdId(), RespInvalidCommand));
|
||||
else
|
||||
processCommand(command);
|
||||
currentItem = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue