From b2c89d7060e99a36c8c7ac897b7386686c74deac Mon Sep 17 00:00:00 2001 From: xolatile Date: Thu, 7 Aug 2025 08:30:30 +0200 Subject: Removed undo and prefab... --- src/fpsgame/client.cpp | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/fpsgame/client.cpp') 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: -- cgit v1.2.3