From 2c843d964027089a747453afc0b07d0eac5835d9 Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 23 Jul 2012 00:29:46 +0300 Subject: cheat: add some undo logic --- frontend/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'frontend') diff --git a/frontend/main.c b/frontend/main.c index 9d3cc33..15eae71 100644 --- a/frontend/main.c +++ b/frontend/main.c @@ -342,6 +342,7 @@ static void parse_cwcheat(void) } Cheats[NumCheats].Descr = strdup(name); Cheats[NumCheats].Enabled = 0; + Cheats[NumCheats].WasEnabled = 0; Cheats[NumCheats].First = NumCodes; Cheats[NumCheats].n = 0; NumCheats++; -- cgit v1.2.3