Public feed #887103

Anonymous

public c v1 · immutable
Raw Edit
·published 2008-02-01 03:20 UTC
rendered paste body
int atcommand_storage(const int fd, struct map_session_data* sd, const char* command, const char* message){	nullpo_retr(-1, sd);		if (sd->npc_id || sd->vender_id || sd->state.trading || sd->state.storage_flag)	{		clif_displaymessage(fd, "Storage cannot be opened.");		return -1;	}	if (sd->state.storage_flag != 1)  	{		storage_storageopen(sd);		clif_displaymessage(fd, "Storage opened.");		return 0;	}}