mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +00:00
Cleanup: Don't pass a writable scratch buffer off to dozens of virtual
functions -- that's just silly!
This commit is contained in:
@ -946,7 +946,7 @@ void plAvBrainGeneric::SetBodyUsage(plAGAnim::BodyUsage bodyUsage)
|
||||
|
||||
// DumpToDebugDisplay ----------------------------------------------------------------------------------------
|
||||
// -------------------
|
||||
void plAvBrainGeneric::DumpToDebugDisplay(int &x, int &y, int lineHeight, char *strBuf, plDebugText &debugTxt)
|
||||
void plAvBrainGeneric::DumpToDebugDisplay(int &x, int &y, int lineHeight, plDebugText &debugTxt)
|
||||
{
|
||||
debugTxt.DrawString(x, y, "Brain type: Generic AKA Multistage");
|
||||
y += lineHeight;
|
||||
@ -955,7 +955,7 @@ void plAvBrainGeneric::DumpToDebugDisplay(int &x, int &y, int lineHeight, char *
|
||||
for(int i = 0; i < stageCount; i++)
|
||||
{
|
||||
plAnimStage *stage = (*fStages)[i];
|
||||
stage->DumpDebug(i == fCurStage, x, y, lineHeight, strBuf, debugTxt);
|
||||
stage->DumpDebug(i == fCurStage, x, y, lineHeight, debugTxt);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user