whiteblXK
Active Member
Hi, In void Player::sendCritical() const I add one line:
Which have to show magic effect 64x64, when I change
to
I have this errors:
How to change magic effect position in g_game.addMagicEffect?
Code:
g_game.addMagicEffect(getPosition(), MAGIC_EFFECT_CRITICAL);
Code:
getPosition()
Code:
getPosition().x+1
Code:
player.cpp:5182: error: no matching function for call to 'Game::addMagicEffect(int, MagicEffect_t)'
game.h:607: note: candidates are: void Game::addMagicEffect(const Position&, uint8_t, bool)
game.h:608: note: void Game::addMagicEffect(const SpectatorVec&, const Position&, uint8_t, bool)
How to change magic effect position in g_game.addMagicEffect?