소스 검색

If only the client was there it could be told the zone wasn't ready..

Emagi 1 년 전
부모
커밋
0bad6569cb
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      EQ2/source/WorldServer/SpellProcess.cpp

+ 3 - 1
EQ2/source/WorldServer/SpellProcess.cpp

@@ -1731,7 +1731,9 @@ bool SpellProcess::CastProcessedSpell(LuaSpell* spell, bool passive, bool in_her
 				target = spell->caster;
 			}
 			if (!target) {
-				client->SimpleMessage(CHANNEL_COLOR_YELLOW, "Zone has not finished loading process yet.  Try again later.");
+				if(client) {
+					client->SimpleMessage(CHANNEL_COLOR_YELLOW, "Zone has not finished loading process yet.  Try again later.");
+				}
 				continue;
 			}
 			if (i == 0 && !spell->spell->GetSpellData()->not_maintained) {