- parameters for FRandomPick should not be added up.

(I hope that this code is correct, all I can judge it by is the assert not being triggered.)
This commit is contained in:
Christoph Oelckers 2015-04-29 01:03:50 +02:00
commit 4c17bd65a4
2 changed files with 4 additions and 2 deletions

View file

@ -51,6 +51,9 @@ public:
void FillAddressConstants(FVoidObj *konst, VM_ATAG *tags);
void FillStringConstants(FString *strings);
// PARAM increases ActiveParam; CALL decreases it.
void ParamChange(int delta);
// Track available registers.
RegAvailability Registers[4];
@ -76,8 +79,6 @@ private:
TArray<VMOP> Code;
// PARAM increases ActiveParam; CALL decreases it.
void ParamChange(int delta);
};
#endif