ref: b821edbcaba8400dfd968941812e698b5bab452a
parent: 2443d46a9ead610cdeebdc389f7b05356216d93e
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Mar 14 18:23:39 EDT 2015
doom: print correct version number on mismatch (thanks qu7uux)
--- a/sys/src/games/doom/g_game.c
+++ b/sys/src/games/doom/g_game.c
@@ -1565,7 +1565,7 @@
gameaction = ga_nothing;
demobuffer = demo_p = W_CacheLumpName (defdemoname, PU_STATIC);
- switch (*demo_p++) {
+ switch (*demo_p) {
case VERSION:
break;
default:
@@ -1577,7 +1577,7 @@
return;
*/
}
-
+ demo_p++;
skill = *demo_p++;
episode = *demo_p++;
map = *demo_p++;