Changeset 6938 in orxonox.OLD for branches/network/src/lib
- Timestamp:
- Feb 1, 2006, 2:50:34 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_game_manager.cc
r6937 r6938 29 29 #include "world_entity.h" 30 30 #include "playable.h" 31 #include "space_ships/space_ship.h" 31 32 #include "player.h" 32 33 #include "shared_network_data.h" … … 550 551 } 551 552 } 553 ///HACK this is only for network multiplayer games. 554 if( b->isA(CL_SPACE_SHIP)) 555 { 556 SpaceShip* ss = dynamic_cast<SpaceShip*>(b); 557 if( owner%2 == 0) 558 { 559 560 ss->loadModel("models/ships/reap_#.obj"); 561 ss->toList(OM_GROUP_00); 562 } 563 else 564 { 565 ss->loadModel( "models/ships/fighter.obj" ); 566 ss->toList(OM_GROUP_01); 567 } 568 } 552 569 553 570 return b;
Note: See TracChangeset
for help on using the changeset viewer.