src/signs_gui.cpp
changeset 10207 c291a21b304e
parent 10182 2b9105187b48
child 10208 72c00af5c95d
--- a/src/signs_gui.cpp	Tue Sep 30 17:50:21 2008 +0000
+++ b/src/signs_gui.cpp	Tue Sep 30 20:39:50 2008 +0000
@@ -111,7 +111,7 @@
 		for (uint16 i = this->vscroll.pos; i < this->vscroll.cap + this->vscroll.pos && i < this->vscroll.count; i++) {
 			const Sign *si = this->signs[i];
 
-			if (si->owner != OWNER_NONE) DrawPlayerIcon(si->owner, 4, y + 1);
+			if (si->owner != OWNER_NONE) DrawCompanyIcon(si->owner, 4, y + 1);
 
 			SetDParam(0, si->index);
 			DrawString(22, y, STR_SIGN_NAME, TC_YELLOW);
@@ -349,7 +349,7 @@
 
 void HandleClickOnSign(const Sign *si)
 {
-	if (_ctrl_pressed && si->owner == _local_player) {
+	if (_ctrl_pressed && si->owner == _local_company) {
 		RenameSign(si->index, NULL);
 		return;
 	}