Fix emo color

This commit is contained in:
btd 2010-07-30 20:14:53 +04:00
parent 9c052398f4
commit 534081a3fe
2 changed files with 6 additions and 5 deletions

9
.gitignore vendored
View file

@ -4,8 +4,9 @@ objs
datasrc/*.pyc datasrc/*.pyc
config.lua config.lua
teeworlds_d teeworlds_d*
teeworlds_srv_d teeworlds_srv_d*
bam.exe bam*
build server.bat build server.bat
buildlog.txt buildlog.txt
autoexec.cfg

View file

@ -926,7 +926,7 @@ void CGameContext::OnMessage(int MsgId, CUnpacker *pUnpacker, int ClientId)
return; return;
p->m_Last_ChangeInfo = time_get(); p->m_Last_ChangeInfo = time_get();
if (p->m_ColorSet|| g_Config.m_SvAllowColorChange) if (!p->m_ColorSet|| g_Config.m_SvAllowColorChange)
{ {
p->m_TeeInfos.m_UseCustomColor = pMsg->m_UseCustomColor; p->m_TeeInfos.m_UseCustomColor = pMsg->m_UseCustomColor;
p->m_TeeInfos.m_ColorBody = pMsg->m_ColorBody; p->m_TeeInfos.m_ColorBody = pMsg->m_ColorBody;