[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 2022-05-07 06:01:36 -04:00 committed by GitHub
parent 10ae4ea8f6
commit ccb316b11b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2807,6 +2807,8 @@ float NPC::GetNPCStat(const char *identifier)
else if (id == "default_atk") { else if (id == "default_atk") {
return default_atk; return default_atk;
} }
return 0.0f;
} }
void NPC::LevelScale() { void NPC::LevelScale() {