Remove a bugfix
It can't be saved...
This commit is contained in:
parent
f54dc8ce05
commit
f47ffea577
1 changed files with 9 additions and 5 deletions
|
@ -1363,11 +1363,15 @@ int TextScriptProc(void)
|
||||||
memcpy(str, &gTS.data[gTS.p_read], y);
|
memcpy(str, &gTS.data[gTS.p_read], y);
|
||||||
str[y] = '\0';
|
str[y] = '\0';
|
||||||
|
|
||||||
#ifdef FIX_BUGS
|
// This should have been 'y', not 'x'. This mistake causes the blinking
|
||||||
gTS.p_write = y;
|
// cursor to render offscreen. Even if this were fixed, the broken font
|
||||||
#else
|
// spacing (see InitTextObject in Draw.cpp) would likely cause it to
|
||||||
gTS.p_write = x; // This is way out of bounds, causing the blinking cursor to render offscreen
|
// still appear in the wrong place anyway.
|
||||||
#endif
|
//#ifdef FIX_BUGS
|
||||||
|
// gTS.p_write = y;
|
||||||
|
//#else
|
||||||
|
gTS.p_write = x;
|
||||||
|
//#endif
|
||||||
|
|
||||||
// Print text
|
// Print text
|
||||||
PutText2(0, 0, str, RGB(0xFF, 0xFF, 0xFE), (SurfaceID)(SURFACE_ID_TEXT_LINE1 + (gTS.line % 4)));
|
PutText2(0, 0, str, RGB(0xFF, 0xFF, 0xFE), (SurfaceID)(SURFACE_ID_TEXT_LINE1 + (gTS.line % 4)));
|
||||||
|
|
Loading…
Add table
Reference in a new issue