mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-06 04:42:28 +00:00
int16 to uint8 conversion
This commit is contained in:
parent
4bb5760666
commit
7edf1c836d
@ -1843,7 +1843,7 @@ bool WorldServer::SendChannelMessage(Client* from, const char* to, uint8 chan_nu
|
||||
scm->fromadmin = 0;
|
||||
} else {
|
||||
strcpy(scm->from, from->GetName());
|
||||
scm->fromadmin = from->Admin();
|
||||
scm->fromadmin = (uint8)from->Admin();
|
||||
}
|
||||
if (to == 0) {
|
||||
scm->to[0] = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user