Merge pull request #392 from ZzZombo/PCD_DROP-fix

-Fixed PCD_DROP affecting script result value.
This commit is contained in:
coelckers 2015-09-19 08:46:54 +02:00
commit e9a3f7f5fc

View file

@ -7274,9 +7274,9 @@ int DLevelScript::RunScript ()
sp--; sp--;
break; break;
case PCD_DROP:
case PCD_SETRESULTVALUE: case PCD_SETRESULTVALUE:
resultValue = STACK(1); resultValue = STACK(1);
case PCD_DROP: //fall through.
sp--; sp--;
break; break;