Bläddra i källkod

Removed struct - it is a class now

Lemongrass3110 2 år sedan
förälder
incheckning
07c9c6d5ad
3 ändrade filer med 4 tillägg och 4 borttagningar
  1. 2 2
      src/map/clif.cpp
  2. 1 1
      src/map/clif.hpp
  3. 1 1
      src/map/pc.cpp

+ 2 - 2
src/map/clif.cpp

@@ -24856,7 +24856,7 @@ void clif_dynamicnpc_result( map_session_data& sd, e_dynamicnpc_result result ){
 #endif
 }
 
-void clif_goldpc_info( struct map_session_data& sd ){
+void clif_goldpc_info( map_session_data& sd ){
 #if PACKETVER_MAIN_NUM >= 20140508 || PACKETVER_RE_NUM >= 20140508 || defined(PACKETVER_ZERO)
 	const static int32 client_max_seconds = 3600;
 
@@ -24894,7 +24894,7 @@ void clif_goldpc_info( struct map_session_data& sd ){
 #endif
 }
 
-void clif_parse_dynamic_npc( int fd, struct map_session_data* sd ){
+void clif_parse_dynamic_npc( int fd, map_session_data* sd ){
 #if PACKETVER_MAIN_NUM >= 20140430 || PACKETVER_RE_NUM >= 20140430 || defined(PACKETVER_ZERO)
 	struct PACKET_CZ_DYNAMICNPC_CREATE_REQUEST* p = (struct PACKET_CZ_DYNAMICNPC_CREATE_REQUEST*)RFIFOP( fd, 0 );
 

+ 1 - 1
src/map/clif.hpp

@@ -1244,6 +1244,6 @@ void clif_macro_reporter_status(map_session_data &sd, e_macro_report_status styp
 
 void clif_dynamicnpc_result( map_session_data& sd, e_dynamicnpc_result result );
 
-void clif_goldpc_info( struct map_session_data& sd );
+void clif_goldpc_info( map_session_data& sd );
 
 #endif /* CLIF_HPP */

+ 1 - 1
src/map/pc.cpp

@@ -2141,7 +2141,7 @@ bool pc_set_hate_mob(map_session_data *sd, int pos, struct block_list *bl)
 }
 
 TIMER_FUNC(pc_goldpc_update){
-	struct map_session_data* sd = map_id2sd( id );
+	map_session_data* sd = map_id2sd( id );
 
 	if( sd == nullptr ){
 		return 0;