mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
[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:
parent
10ae4ea8f6
commit
ccb316b11b
@ -2807,6 +2807,8 @@ float NPC::GetNPCStat(const char *identifier)
|
||||
else if (id == "default_atk") {
|
||||
return default_atk;
|
||||
}
|
||||
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
void NPC::LevelScale() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user