diff options
Diffstat (limited to 'src/magic.cc')
| -rw-r--r-- | src/magic.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/magic.cc b/src/magic.cc index 28c1aa5..728b681 100644 --- a/src/magic.cc +++ b/src/magic.cc @@ -898,7 +898,7 @@ int GetDirection(int dx, int dy){ }else if(dy > 0){ Result = DIRECTION_SOUTH; }else{ - Result = DIRECTION_INVALID; + Result = DIRECTION_NONE; } }else{ // NOTE(fusion): This function uses the approximate tangent value, avoiding @@ -1242,7 +1242,7 @@ void CreateFieldWall(TCreature *Actor, Object Target, break; } - case DIRECTION_INVALID:{ + case DIRECTION_NONE:{ throw NOROOM; } |
