[Bug Fix] NPC::GetNPCStat has no default return. (#2150)

```In member function 'float NPC::GetNPCStat(const char*)':
/drone/src/zone/npc.cpp:2810:1: warning: control reaches end of non-void function [-Wreturn-type]```
This commit is contained in:
Kinglykrab authored and GitHub committed 2022-05-07 05:01:36 -05:00
1 parent 10ae4ea8f6
commit ccb316b11b
1 file changed
+2
+2
View File
@@ -2807,6 +2807,8 @@ float NPC::GetNPCStat(const char *identifier)
else if (id == "default_atk") {
return default_atk;
}
return 0.0f;
}
void NPC::LevelScale() {