Fix chat message on different size mobs

This commit is contained in:
Aronai Sieyes
2021-05-30 20:18:16 -04:00
parent 62ac41f93d
commit 3331ffb5ba
+1 -1
View File
@@ -184,7 +184,7 @@ var/list/runechat_image_cache = list()
message.plane = PLANE_RUNECHAT
message.appearance_flags = APPEARANCE_UI_IGNORE_ALPHA | KEEP_APART
message.alpha = 0
message.pixel_y = owner.bound_height * 0.95
message.pixel_y = (owner.bound_height * 0.95)*owner.size_multiplier
message.maptext_width = msgwidth
message.maptext_height = mheight
message.maptext_x = (msgwidth - owner.bound_width) * -0.5