Changeset 5049 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Aug 16, 2005, 9:47:01 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r5048 r5049 439 439 { 440 440 WorldEntity* tmp = new NPC(); 441 char npcChar[10]; 442 sprintf (npcChar, "NPC_%d", i); 443 tmp->setName(npcChar); 441 444 tmp->setAbsCoor(((float)rand()/RAND_MAX) * 5000, 50/*+ (float)rand()/RAND_MAX*20*/, ((float)rand()/RAND_MAX -.5) *100); 442 445 this->spawn(tmp);
Note: See TracChangeset
for help on using the changeset viewer.