summaryrefslogtreecommitdiff
path: root/src/fpsgame/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fpsgame/client.cpp')
-rw-r--r--src/fpsgame/client.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/fpsgame/client.cpp b/src/fpsgame/client.cpp
index 2ad6a6f..bd98625 100644
--- a/src/fpsgame/client.cpp
+++ b/src/fpsgame/client.cpp
@@ -441,16 +441,6 @@ namespace game {
}
break;
}
- case EDIT_UNDO:
- case EDIT_REDO: {
- uchar *outbuf = NULL;
- int inlen = 0, outlen = 0;
- if(packundo(op, inlen, outbuf, outlen)) {
- if(addmsg(N_EDITF + op, "ri2", inlen, outlen)) messages.put(outbuf, outlen);
- delete[] outbuf;
- }
- break;
- }
}
}
void printvar(fpsent *d, ident *id) {
@@ -1184,14 +1174,6 @@ namespace game {
if(d) unpackeditinfo(d->edit, q.buf, q.maxlen, unpacklen);
break;
}
- case N_UNDO:
- case N_REDO: {
- int cn = getint(p), unpacklen = getint(p), packlen = getint(p);
- fpsent *d = getclient(cn);
- ucharbuf q = p.subbuf(max(packlen, 0));
- if(d) unpackundo(q.buf, q.maxlen, unpacklen);
- break;
- }
case N_EDITF: // coop editing messages
case N_EDITT:
case N_EDITM: