Skip to content

Commit

Permalink
initialize the new member variable in the cserverconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
canerksk committed Nov 27, 2024
1 parent c3692c1 commit a94339f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/game/CServerConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ CServerConfig::CServerConfig()
m_iWordsOfPowerFont = FONT_NORMAL;
m_fWordsOfPowerPlayer = true;
m_fWordsOfPowerStaff = false;
m_iWordsOfPowerTalkMode = TALKMODE_SPELL;
m_fEquippedCast = true;
m_iMagicUnlockDoor = 900;
m_iSpellTimeout = 0;
Expand Down Expand Up @@ -1026,7 +1027,7 @@ const CAssocReg CServerConfig::sm_szLoadKeys[RC_QTY + 1]
{ "WOPFONT", { ELEM_INT, static_cast<uint>OFFSETOF(CServerConfig,m_iWordsOfPowerFont) }},
{ "WOPPLAYER", { ELEM_BOOL, static_cast<uint>OFFSETOF(CServerConfig,m_fWordsOfPowerPlayer) }},
{ "WOPSTAFF", { ELEM_BOOL, static_cast<uint>OFFSETOF(CServerConfig,m_fWordsOfPowerStaff) }},
{ "WOPTALKMODE", { ELEM_INT, static_cast<uint> OFFSETOF(CServerConfig,m_iWordsOfPowerTalkMode) }},
{ "WOPTALKMODE", { ELEM_INT, static_cast<uint>OFFSETOF(CServerConfig,m_iWordsOfPowerTalkMode) }},
{ "WORLDSAVE", { ELEM_CSTRING, static_cast<uint>OFFSETOF(CServerConfig,m_sWorldBaseDir) }},
{ "ZEROPOINT", { ELEM_CSTRING, static_cast<uint>OFFSETOF(CServerConfig,m_sZeroPoint) }},
{ nullptr, { ELEM_VOID, 0, }}
Expand Down

0 comments on commit a94339f

Please sign in to comment.