Allow boats flymode to be overridden by local db

This commit is contained in:
Noudess
2021-01-11 10:58:08 -05:00
parent 0f5a7e1317
commit eb24e333d7
2 changed files with 5 additions and 4 deletions
-4
View File
@@ -1197,10 +1197,6 @@ void Mob::FillSpawnStruct(NewSpawn_Struct* ns, Mob* ForWho)
else
ns->spawn.flymode = flymode;
if(IsBoat()) {
ns->spawn.flymode = GravityBehavior::Floating;
}
ns->spawn.lastName[0] = '\0';
strn0cpy(ns->spawn.lastName, lastname, sizeof(ns->spawn.lastName));