Changeset 5260 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- Sep 26, 2005, 2:28:46 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/world.cc
r5258 r5260 466 466 sprintf (npcChar, "NPC_%d", i); 467 467 tmp->setName(npcChar); 468 tmp->setAbsCoor(((float)rand()/RAND_MAX) * 5000, 50/*+ (float)rand()/RAND_MAX*20*/, ((float)rand()/RAND_MAX -.5) * 100);468 tmp->setAbsCoor(((float)rand()/RAND_MAX) * 5000, 50/*+ (float)rand()/RAND_MAX*20*/, ((float)rand()/RAND_MAX -.5) *50); 469 469 this->spawn(tmp); 470 470
Note: See TracChangeset
for help on using the changeset viewer.