1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Server commands without classes

This commit is contained in:
Ciaran Gultnieks 2011-05-16 17:13:33 +01:00
parent 1520d49310
commit b3268ff389
3 changed files with 157 additions and 177 deletions

View file

@ -2877,7 +2877,7 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id)
player
);
line += ServerCommand::processCommand(ctx);
line += processServerCommand(ctx);
send_to_sender = ctx->flags & 1;
send_to_others = ctx->flags & 2;
delete ctx;