Browse Source

fix fall through case

Greg 7 years ago
parent
commit
23325c20bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gmsrc/src/gm/gmLibHooks.cpp

+ 1 - 1
gmsrc/src/gm/gmLibHooks.cpp

@@ -313,7 +313,7 @@ gmFunctionObject * gmLibHooks::BindLib(gmMachine &a_machine, gmStream &a_stream,
         case BC_BRZ :
         case BC_BRZ :
         case BC_BRNZ :
         case BC_BRNZ :
         case BC_BRZK :
         case BC_BRZK :
-        case BC_BRNZK :
+        case BC_BRNZK : instruction += sizeof(gmptr); break;
         case BC_FOREACH : instruction += sizeof(gmuint32); break;
         case BC_FOREACH : instruction += sizeof(gmuint32); break;
         case BC_PUSHINT : instruction += sizeof(gmint); break;
         case BC_PUSHINT : instruction += sizeof(gmint); break;
         case BC_PUSHFP : instruction += sizeof(gmfloat); break;
         case BC_PUSHFP : instruction += sizeof(gmfloat); break;