summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_player_npc.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2023-10-15 00:45:59 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2023-10-15 00:45:59 -0400
commit0ca314c74652f51ce171ff74dee48f4ef8b8de28 (patch)
treea0dd8893a9be2414a715c2aec659c96614a7c89c /src/d/actor/d_a_player_npc.cpp
parent98140ed1cd23c873b0082193dcc34fb7732c841c (diff)
Add attention flags enum, use enums in more places
Diffstat (limited to 'src/d/actor/d_a_player_npc.cpp')
-rw-r--r--src/d/actor/d_a_player_npc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_player_npc.cpp b/src/d/actor/d_a_player_npc.cpp
index c6a237a6..9fac0da0 100644
--- a/src/d/actor/d_a_player_npc.cpp
+++ b/src/d/actor/d_a_player_npc.cpp
@@ -16,7 +16,7 @@ int daPy_npc_c::check_initialRoom() {
if (mAcch.GetGroundH() == -1000000000.0f || dComIfG_Bgsp()->GetGroundCode(mAcch.m_gnd) == 4) {
return 0;
} else {
- int roomNo = dComIfG_Bgsp()->GetRoomId(mAcch.m_gnd);
+ int roomNo = dComIfG_Bgsp()->GetRoomId(mAcch.m_gnd);
if (roomNo < 0 || !dComIfGp_roomControl_checkStatusFlag(roomNo, 0x10)) {
return 0;
} else {