Changeset 6498 in orxonox.OLD for trunk/src/world_entities/power_ups
- Timestamp:
- Jan 11, 2006, 9:58:22 PM (19 years ago)
- Location:
- trunk/src/world_entities/power_ups
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/power_ups/param_power_up.cc
r6424 r6498 138 138 SYNCHELP_READ_INT( this->min_value ); 139 139 SYNCHELP_READ_INT( this->max_value ); 140 respawn(); 140 141 } 141 142 … … 162 163 SYNCHELP_WRITE_FKT( PowerUp::readState ); 163 164 164 int i = this->type;165 int i = (int)this->type; 165 166 SYNCHELP_WRITE_INT( i ); 166 167 SYNCHELP_WRITE_INT( this->value ); -
trunk/src/world_entities/power_ups/power_up.cc
r6424 r6498 96 96 } 97 97 98 99 100 /******************************************************************************************** 101 NETWORK STUFF 102 ********************************************************************************************/ 103 104 98 105 /** 99 106 * data copied in data will bee sent to another host … … 108 115 return SYNCHELP_WRITE_N; 109 116 } 117 110 118 111 119 /** -
trunk/src/world_entities/power_ups/turret_power_up.cc
r6424 r6498 119 119 } 120 120 121 122 123 124 /******************************************************************************************** 125 NETWORK STUFF 126 ********************************************************************************************/ 127 128 121 129 int TurretPowerUp::writeBytes( const byte * data, int length, int sender ) 122 130 { … … 130 138 return SYNCHELP_READ_N; 131 139 } 132 133 140 134 141
Note: See TracChangeset
for help on using the changeset viewer.