aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.h
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-17 19:09:40 +0100
committern0n4m3 <none@none>2009-12-17 19:09:40 +0100
commit3e133c47865d57816132300df2749b297f97bce0 (patch)
tree306c46fe0dd82f3909f65ef3cfccd3426bc049da /src/game/Spell.h
parent6b405c63cc291f979abbb8939dd3b129fa664584 (diff)
[9012] fix crash when achievement is completed and player isn't in world
--HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.h')
-rw-r--r--src/game/Spell.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Spell.h b/src/game/Spell.h
index 2e12a909d99..dc640438032 100644
--- a/src/game/Spell.h
+++ b/src/game/Spell.h
@@ -734,11 +734,11 @@ namespace Trinity
i_data->push_back(target);
break;
case PUSH_IN_FRONT:
- if(i_source->isInFrontInMap(target, i_radius, M_PI/3))
+ if(i_source->isInFront(target, i_radius, M_PI/3))
i_data->push_back(target);
break;
case PUSH_IN_BACK:
- if(i_source->isInBackInMap(target, i_radius, M_PI/3))
+ if(i_source->isInBack(target, i_radius, M_PI/3))
i_data->push_back(target);
break;
case PUSH_IN_LINE: