mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Compilation fixes for C++20
This commit is contained in:
parent
e16351605b
commit
1940becb2d
40 changed files with 220 additions and 211 deletions
|
|
@ -328,9 +328,9 @@ void afxSpellButton::setPage(U8 page)
|
|||
update_bitmap();
|
||||
}
|
||||
|
||||
char* afxSpellButton::formatDesc(char* buffer, int len) const
|
||||
const char* afxSpellButton::formatDesc(char* buffer, int len) const
|
||||
{
|
||||
return (spellbook) ? spellbook->formatDesc(buffer, len, book_slot.x, book_slot.y) : (char*)"";
|
||||
return (spellbook) ? spellbook->formatDesc(buffer, len, book_slot.x, book_slot.y) : "";
|
||||
}
|
||||
|
||||
afxMagicSpellData* afxSpellButton::getSpellDataBlock() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue