aboutsummaryrefslogtreecommitdiff
path: root/src/magic.cc
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-06-10 19:19:09 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-06-10 19:19:09 -0300
commit81a5d53bc566fe2c678577cb3f3e5cadd0711753 (patch)
tree6423174670804c4ff6660753c9eb826527df2b97 /src/magic.cc
parent699341773dda3ae14a5025b9285bdd05c99bc234 (diff)
downloadgame-81a5d53bc566fe2c678577cb3f3e5cadd0711753.tar.gz
game-81a5d53bc566fe2c678577cb3f3e5cadd0711753.zip
finish `info.cc`
Diffstat (limited to 'src/magic.cc')
-rw-r--r--src/magic.cc4
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;
}