mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-20 07:03:46 +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
|
|
@ -258,9 +258,9 @@ void afxSpellBook::unpackUpdate(NetConnection * con, BitStream * stream)
|
|||
}
|
||||
}
|
||||
|
||||
#define SPELL_DATA_NOT_FOUND "\n<just:center><font:Arial:20><color:FF0000>** Spell data not found **\n\n\n\n"
|
||||
#define SPELL_DATA_NOT_FOUND "\n<just:center><font:Arial:20><color:FF0000>** Spell data not found **\n\n\n\n";
|
||||
|
||||
char* afxSpellBook::formatDesc(char* buffer, int len, S32 page, S32 slot) const
|
||||
const char* afxSpellBook::formatDesc(char* buffer, int len, S32 page, S32 slot) const
|
||||
{
|
||||
S32 idx = mDataBlock->getPageSlotIndex(page, slot);
|
||||
if (idx < 0 || !mDataBlock->rpg_spells[idx])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue