Jump to content

Block maps in the ring of marriage


Recommended Posts

  • Active Member
	int iBadMapIdx[2] = { 66, 208 };
	for (int i = 0; i < _countof(iBadMapIdx); i++){
		if (iBadMapIdx[i] == pMarriage->ch1->GetMapIndex() || iBadMapIdx[i] == pMarriage->ch2->GetMapIndex()){
			ChatPacket(CHAT_TYPE_INFO, "warn msg");
			break;
		}
	}

 

#Edit: has more than one "case ITEM_MARRIAGE_RING:"

							case ITEM_MARRIAGE_RING:
								{
									marriage::TMarriage* pMarriage = marriage::CManager::instance().Get(GetPlayerID());

add in under

Edited by Koray
Link to comment
Share on other sites

  • 8 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.