economy.c
changeset 4878 4d4f76a898fd
parent 4873 11880cbbc9f6
child 4880 aac84a9dcd03
--- a/economy.c	Tue Oct 17 20:36:03 2006 +0000
+++ b/economy.c	Tue Oct 17 22:16:46 2006 +0000
@@ -428,7 +428,7 @@
 					/* Find all clients that were in control of this company */
 					FOR_ALL_CLIENTS(cs) {
 						ci = DEREF_CLIENT_INFO(cs);
-						if ((ci->client_playas-1) == owner) {
+						if (ci->client_playas == owner) {
 							ci->client_playas = PLAYER_SPECTATOR;
 							// Send the new info to all the clients
 							NetworkUpdateClientInfo(_network_own_client_index);