From 81a5d53bc566fe2c678577cb3f3e5cadd0711753 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Tue, 10 Jun 2025 19:19:09 -0300 Subject: finish `info.cc` --- src/magic.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/magic.cc') 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; } -- cgit v1.2.3