mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-03 22:42:17 +00:00
Lua doors api
This commit is contained in:
1 parent
ff091e940c
commit
bc82bff4b4
16 files changed
+207
-72
No files matched your search
+1
-1
@@ -766,7 +766,7 @@ void Doors::SetOpenType(uint8 in) {
|
||||
entity_list.RespawnAllDoors();
|
||||
}
|
||||
|
||||
void Doors::SetDoorName(char* name) {
|
||||
void Doors::SetDoorName(const char* name) {
|
||||
entity_list.DespawnAllDoors();
|
||||
memset(door_name, 0, sizeof(door_name));
|
||||
strncpy(door_name, name, sizeof(door_name));
|
||||
|
||||
Reference in new issue
Block a user