Metin2 MAP AREA HEAVY EFFECT USAGE FIX

Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Ionut Barbescu

SuperModerator
SuperModerator
Joined
Dec 23, 2020
Messages
146
Credits
38
First, open EffectLib/EffectInstance.h and add this to CEffectInstance class:

C++:
Expand Collapse Copy
const D3DXMATRIX& GetGlobalMatrix() const { return m_matGlobal; };

Now go to GameLib/Area.cpp and add these to the includes

C++:
Expand Collapse Copy
#include "../UserInterface/StdAfx.h"
#include "../UserInterface/PythonCharacterManager.h"
#include "../UserInterface/PythonBackground.h"


Now modify CArea::__UpdateEffectList function to look like this

 
Back
Top