[Code Cleanup] Remove this-> in code where its implied (#2088)

This commit is contained in:
Chris Miles authored and GitHub committed 2022-05-01 10:22:09 -04:00
1 parent b02008ec53
commit 5b4aeaa457
47 files changed
+1033 -1033

No files matched your search

+2 -2
View File
@@ -638,11 +638,11 @@ void Mob::DisplayInfo(Mob *mob)
return;
}
if (this->IsClient()) {
if (IsClient()) {
std::string window_text = "<c \"#FFFF66\">*Drag window open vertically to see all</c><br>";
Client *client = this->CastToClient();
Client *client = CastToClient();
if (!client->IsDevToolsEnabled()) {
return;