Maker Version: RPG Maker MV 1.5.0 (Standalone Version)
Please pardon the awkward posting - I was trying to find a better place to report a bug, but its not exactly a fatal. I am sure its not even throwing warnings, but I found it and wanted to bring to Developer's attention.
I've looked around and not seeing how this is a "completely legal use" of the function. Probably a typo or an extra param - nothing special.
Source function (not an issue with this one)
To my knowledge there is only "drawTextEx" function and it is the following.
Location: js\rpg_windows.js
Issue:
drawTextEx is called with 4 parameters, instead of 3 allowed.
"rect.width" seems to be extra and, per function implementation I see above, is goggles (does nothing) parameter.
Location: js\rpg_windows.js - same file
If I am incorrect, my apologies.
Please pardon the awkward posting - I was trying to find a better place to report a bug, but its not exactly a fatal. I am sure its not even throwing warnings, but I found it and wanted to bring to Developer's attention.
I've looked around and not seeing how this is a "completely legal use" of the function. Probably a typo or an extra param - nothing special.
Source function (not an issue with this one)
To my knowledge there is only "drawTextEx" function and it is the following.
Location: js\rpg_windows.js
Code:
Window_Base.prototype.drawTextEx = function(text, x, y) {
if (text) {
var textState = { index: 0, x: x, y: y, left: x };
textState.text = this.convertEscapeCharacters(text);
textState.height = this.calcTextHeight(textState, false);
this.resetFontSettings();
while (textState.index < textState.text.length) {
this.processCharacter(textState);
}
return textState.x - x;
} else {
return 0;
}
};
drawTextEx is called with 4 parameters, instead of 3 allowed.
"rect.width" seems to be extra and, per function implementation I see above, is goggles (does nothing) parameter.
Location: js\rpg_windows.js - same file
Code:
Window_BattleLog.prototype.drawLineText = function(index) {
var rect = this.itemRectForText(index);
this.contents.clearRect(rect.x, rect.y, rect.width, rect.height);
this.drawTextEx(this._lines[index], rect.x, rect.y, rect.width);
};