Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5049 in orxonox.OLD for orxonox/trunk/src/story_entities


Ignore:
Timestamp:
Aug 16, 2005, 9:47:01 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: some weapon-specifics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r5048 r5049  
    439439  {
    440440    WorldEntity* tmp = new NPC();
     441    char npcChar[10];
     442    sprintf (npcChar, "NPC_%d", i);
     443    tmp->setName(npcChar);
    441444    tmp->setAbsCoor(((float)rand()/RAND_MAX) * 5000, 50/*+ (float)rand()/RAND_MAX*20*/, ((float)rand()/RAND_MAX -.5) *100);
    442445    this->spawn(tmp);
Note: See TracChangeset for help on using the changeset viewer.