scriptdev2 / scriptdev2-cata

ScriptDev2 for Cataclysm

Home Page:http://www.scriptdev2.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error C2039: 'getPowerType' : is not a member of 'Creature'

BrettDioson opened this issue · comments

Getting the following errors when trying to compile:

1>..\scripts\eastern_kingdoms\karazhan\boss_shade_of_aran.cpp(209): error C2039: 'getPowerType' : is not a member of 'Creature'
1> P:\Downloads\Games\WoW\CMaNGOS\CataSource\src\game\Creature.h(498) : see declaration of 'Creature'

1>..\scripts\northrend\icecrown_citadel\icecrown_citadel\boss_deathbringer_saurfang.cpp(121): error C2039: 'getPowerType' : is not a member of 'Creature'
1> P:\Downloads\Games\WoW\CMaNGOS\CataSource\src\game\Creature.h(498) : see declaration of 'Creature'

Compile fails because of this.

Using Win8 64 bit.
MS VSE2013
Opening scriptVC110.sln and updating for 2013. Cleaning build then Build release for x64.

This is because I forgot to update SD2-cata to the latest core. I will do it by the end of this week.

Thank you. I thought I was doing something stupid and couldn't figure out what I was doing wrong... other than using Vis Studio 2013 that is.