Redo ACustomInventory::CallStateChain to check return types
This commit is contained in:
parent
b8a16600ac
commit
ade780d810
2 changed files with 51 additions and 18 deletions
|
|
@ -551,7 +551,7 @@ begin:
|
|||
}
|
||||
stack->PopFrame();
|
||||
}
|
||||
assert(numret == C);
|
||||
assert(numret == C && "Number of parameters returned differs from what was expected by the caller");
|
||||
for (b = B; b != 0; --b)
|
||||
{
|
||||
reg.param[--f->NumParam].~VMValue();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue