Revisión | ecc96cbe66e359eb7884f9f0027938e1eae4b337 (tree) |
---|---|
Tiempo | 2012-10-30 00:22:02 |
Autor | angeart <angeart@git....> |
Commiter | angeart |
何か変わってたので修正
@@ -205,7 +205,7 @@ void MiniMap::DrawPosAndCalc() | ||
205 | 205 | if(current_channel){ |
206 | 206 | BOOST_FOREACH(auto it,current_channel->warp_points) |
207 | 207 | { |
208 | - direction = VSub(VGet(it.x,it.y,it.z),myself_pos); | |
208 | + direction = VSub(it.position,myself_pos); | |
209 | 209 | direction.y = 0; |
210 | 210 | theta = atan2( -direction.x, -direction.z); |
211 | 211 | tmp_pos_x = ( sin(mtheta + TORADIAN(180.0f) - theta) * VSize(direction) * ( 1.0f / world_manager->stage()->map_scale()) )/ 3.0f + absolute_x() + absolute_width()/2; |